From f57620a8d69f0ed9fc07288fd2d20ce1d18da817 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 7 Aug 2019 11:56:04 +0000 Subject: [PATCH] Twenty Seventeen: Correct height for a Button block without text. Props ianbelanger, laurelfulford, nayana123. Fixes #47414. git-svn-id: https://develop.svn.wordpress.org/trunk@45764 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyseventeen/assets/css/editor-blocks.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css b/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css index 6b6bd47220..d32bad64f7 100644 --- a/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css +++ b/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;