[wp-trac] [WordPress Trac] #51195: .is-style-squared css error
WordPress Trac
noreply at wordpress.org
Mon Aug 31 02:21:37 UTC 2020
#51195: .is-style-squared css error
--------------------------+-----------------------------
Reporter: ryentzer | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.5
Severity: normal | Keywords:
Focuses: css |
--------------------------+-----------------------------
When working through my own theme skeleton with the
''themeunittestdata.wordpress.xml'', I came across the buttons section.
The css for the square button is incorrectly applied. If you compare the
selectors of ''is-style-squared'' to ''is-style-outline'', you should see
the problem.
Both **is-style-squared** and **is-style-outline**:
{{{
.wp-block-button.is-style-squared,
.wp-block-button__link.wp-block-button.is-style-squared {
border-radius: 0;
}
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button__link.is-style-outline {
color: #32373c;
background-color: transparent;
border: 2px solid;
}
}}}
Corrected **is-style-squared**:
{{{
.wp-block-button.is-style-squared .wp-block-button__link,
.wp-block-button__link.is-style-squared {
border-radius: 0;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51195>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list