Skip to content

Commit

Permalink
Twenty Seventeen: Fixes button block font weight not changing.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Tammie Lister committed Jun 26, 2024
1 parent 8b20dd4 commit da76e67
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions wp-content/themes/twentyseventeen/assets/css/blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit da76e67

Please sign in to comment.