From aa4ab3acdc273d9943d41a6a0ce7edfe5d08ce45 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 7 Aug 2019 11:57:54 +0000 Subject: [PATCH] Twenty Seventeen: Correct height for a Button block without text. Props ianbelanger, laurelfulford, nayana123. Fixes #47414. Built from https://develop.svn.wordpress.org/trunk@45764 git-svn-id: http://core.svn.wordpress.org/trunk@45575 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentyseventeen/assets/css/editor-blocks.css | 4 ++++ wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css b/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css index 6b6bd47220..d32bad64f7 100644 --- a/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css +++ b/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; diff --git a/wp-includes/version.php b/wp-includes/version.php index b8f4c5b6be..5fc3fcd017 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45763'; +$wp_version = '5.3-alpha-45764'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.