Skip to content
Permalink
Browse files

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

Props ianbelanger, laurelfulford, nayana123.
See #47414.

git-svn-id: https://develop.svn.wordpress.org/trunk@45763 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Aug 7, 2019
1 parent 4271f1a commit e7c67d49c0cf17296ac7c9d1f8db9ffe769ebffd
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/wp-content/themes/twentyeleven/editor-blocks.css
@@ -382,6 +382,10 @@ p.has-drop-cap:not(:focus)::first-letter {
text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
}

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

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

0 comments on commit e7c67d4

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