Skip to content

Commit

Permalink
Fix regression with Button placeholder text (#10160)
Browse files Browse the repository at this point in the history
A recent change to placeholder text contrast caused this to regress. This PR fixes that.
  • Loading branch information
jasmussen committed Sep 25, 2018
1 parent acf9547 commit d4001b4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/block-library/src/button/editor.scss
Expand Up @@ -18,10 +18,15 @@
cursor: text;
line-height: 1;
}

&:not(.has-text-color) .editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
color: $white;
opacity: 0.8;
}
}

.block-library-button__inline-link {
background: #fff;
background: $white;
display: flex;
flex-wrap: wrap;
align-items: center;
Expand Down

0 comments on commit d4001b4

Please sign in to comment.