#51195 closed defect (bug) (duplicate)
.is-style-squared css error
| Reported by: | ryentzer | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | css |
Description
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;
}
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #51194.
This ticket was created twice. Closing as duplicate.