From 49d9d2dc57d1de3ab52edbb342b115540f2c24a3 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 20 Aug 2019 19:13:54 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/branches/5.2@45864 git-svn-id: http://core.svn.wordpress.org/branches/5.2@45675 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..361e5b6b23 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 896924cf13..795c327d54 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2.3-alpha-45849'; +$wp_version = '5.2.3-alpha-45864'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.