From 94d48db3ea7b72e73b586e414303d8d55d51d650 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Mon, 24 Jun 2024 19:24:10 +0000 Subject: [PATCH] Twenty Nineteen: Fixes button block padding within the editor. The button block padding was not the same in the editor and front. This resolves that issue with the font size having being resolved in a previous ticket. Props pitamdey, sabernhardt. Fixes #61235. Built from https://develop.svn.wordpress.org/trunk@58556 git-svn-id: http://core.svn.wordpress.org/trunk@58004 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentynineteen/style-editor.css | 1 + wp-content/themes/twentynineteen/style-editor.scss | 1 + wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentynineteen/style-editor.css b/wp-content/themes/twentynineteen/style-editor.css index 3a38846343..4619b0177f 100644 --- a/wp-content/themes/twentynineteen/style-editor.css +++ b/wp-content/themes/twentynineteen/style-editor.css @@ -999,6 +999,7 @@ figcaption, font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 0.88889em; font-weight: bold; + padding: 16.72px 22px; } .wp-block-button .wp-block-button__link:not(.has-text-color) { diff --git a/wp-content/themes/twentynineteen/style-editor.scss b/wp-content/themes/twentynineteen/style-editor.scss index 508dda9566..de3c8a7c93 100644 --- a/wp-content/themes/twentynineteen/style-editor.scss +++ b/wp-content/themes/twentynineteen/style-editor.scss @@ -393,6 +393,7 @@ figcaption, @include font-family( $font__heading ); font-size: $font__size-sm; font-weight: bold; + padding: ($font__size_base * .76) $font__size_base; &:not(.has-text-color) { color: #fff; diff --git a/wp-includes/version.php b/wp-includes/version.php index 09ec0bc68a..aed662c150 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-beta4-58555'; +$wp_version = '6.6-beta4-58556'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.