Skip to content
Permalink
Browse files

Twenty Seventeen: Correct height for a Button block without text.

Props ianbelanger, laurelfulford, nayana123.
Merges [45764], [45861], and [45863] to the 5.2 branch.
Fixes #47414.

git-svn-id: https://develop.svn.wordpress.org/branches/5.2@45864 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Aug 20, 2019
1 parent 992a99f commit 394351c2d65aea634d48cd65064f75fdc8f35d5f
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css
@@ -726,6 +726,10 @@ table.wp-block-table td:last-child {
white-space: nowrap;
}

.wp-block-button .wp-block-button__link[data-is-placeholder-visible="true"] {
height: auto;
}

.wp-block-button__link {
background-color: #222;
color: #fff;

0 comments on commit 394351c

Please sign in to comment.
You can’t perform that action at this time.