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.


git-svn-id: https://develop.svn.wordpress.org/trunk@58584 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tammie Lister 2024-06-26 21:05:58 +00:00
parent b64610b3c8
commit dc788c6fbc
2 changed files with 10 additions and 0 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 {