Skip to content

Commit

Permalink
Twenty Fifteen: Ensure border-bottom styles are applied to the Button…
Browse files Browse the repository at this point in the history
… Block.

This issue was related to the `:where()` selector, which also affected Twenty Twenty (see #55824).

Props umesh84, sabernhardt.
Fixes #55006.
See #55824.

Built from https://develop.svn.wordpress.org/trunk@54151
  • Loading branch information
audrasjb committed Sep 14, 2022
1 parent d6e8288 commit c34d9ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions wp-content/themes/twentyfifteen/css/blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,10 @@ p.has-drop-cap:not(:focus)::first-letter {
vertical-align: baseline;
}

.is-style-outline .wp-block-button__link {
border: 2px solid;
}

.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link {
border: 0;
}
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.1-alpha-54150';
$wp_version = '6.1-alpha-54151';

/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Expand Down

0 comments on commit c34d9ce

Please sign in to comment.