Twenty Seventeen: Fixes button block font weight not changing.

The button block appearance was not changing when using settings. This resolves that using inherit.

Props pranitdugad, sabernhardt, shailu25, hmbashar.
Fixes #60937.

Built from https://develop.svn.wordpress.org/trunk@58584


git-svn-id: http://core.svn.wordpress.org/trunk@58031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-06-26 21:07:22 +00:00
parent 8b20dd4294
commit da76e67830
3 changed files with 11 additions and 1 deletions

View File

@ -202,6 +202,11 @@ p.has-drop-cap:not(:focus)::first-letter {
text-align: center;
}
.wp-block-buttons[style*="font-weight"] .wp-block-button__link,
.wp-block-button[style*="font-weight"] .wp-block-button__link {
font-weight: inherit;
}
/*--------------------------------------------------------------
4.0 Blocks - Layout Elements
--------------------------------------------------------------*/

View File

@ -715,6 +715,11 @@ table.wp-block-table td:last-child {
text-align: center;
}
.wp-block-buttons[style*="font-weight"] .wp-block-button__link,
.wp-block-button[style*="font-weight"] .wp-block-button__link {
font-weight: inherit;
}
/* Verse */
.editor-styles-wrapper .wp-block-verse {

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-alpha-58583';
$wp_version = '6.7-alpha-58584';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.