Skip to content

Commit

Permalink
Try removing abs position on placeholder text in button
Browse files Browse the repository at this point in the history
This tries to address #1168, specifically the concerns around letting the placeholder text scale the content.
  • Loading branch information
jasmussen committed Jun 19, 2017
1 parent f47f55c commit d010cbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions blocks/library/button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ $blocks-button__height: 46px;
left: 50%;
transform: translateX( -50% );
}

.blocks-editable__tinymce[data-is-empty="true"]:before {
position: inherit;
}
}

.editor-visual-editor__block[data-type="core/button"] {
Expand Down

0 comments on commit d010cbb

Please sign in to comment.