[wp-trac] [WordPress Trac] #55824: Twenty Twenty: button-style link with Outline style is missing the border (was: Twenty Twenty Theme button outline issue in front side)
WordPress Trac
noreply at wordpress.org
Sat Jun 4 01:08:50 UTC 2022
#55824: Twenty Twenty: button-style link with Outline style is missing the border
---------------------------+----------------------
Reporter: umesh84 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1
Component: Bundled Theme | Version: 5.9
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, css
---------------------------+----------------------
Changes (by sabernhardt):
* keywords: needs-design-feedback has-patch => has-patch
* version: 6.0 => 5.9
* milestone: Awaiting Review => 6.1
Comment:
Yes, the border belongs in the theme stylesheet now. I moved it into an
existing selector and compiled the RTL stylesheet.
In WordPress 5.3, when Twenty Twenty was released, the editor's block-
library stylesheet supplied the border.
{{{
.is-style-outline .wp-block-button__link {
background-color: transparent;
border: 2px solid;
}
}}}
WordPress 5.9 started using `:where()` and then Twenty Twenty's `.wp-
block-button__link` selector was specific enough to override (remove) that
border.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55824#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list