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
This commit is contained in:
Tammie Lister 2024-06-24 19:24:10 +00:00
parent 1c040d163f
commit 94d48db3ea
3 changed files with 3 additions and 1 deletions

View File

@ -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) {

View File

@ -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;

View File

@ -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.