Quote block: CSS regarding "is-style-big" from WordPress 6.0 breaks existing styles. #41219
Labels
[Block] Quote
Affects the Quote Block
CSS Styling
Related to editor and front end styles, CSS-specific issues.
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
Description
With WordPress 6.0, the level of detail in the CSS regarding
.wp-block-quote.is-style-large
is too strong.It is changing from
.wp-block-quote.is-style-large
to.wp-block-quote.is-style-large:not(.is-style-plain)
.Specifically, the following CSS.
I understand that the change is due to Large style being removed in 37580, but the impact on existing styles is too strong.
As one example, the theme I am developing will be affected as follows.
Before
After
Previously, we could simply prepare CSS with the same level of detail in
.wp-block-quote.is-style-large
and load it later than the core style, but starting with 6.0, you need to write it as.wp-block-quote.is-style-large.is-style-large
.As discussed at #40163, it would be better to use
:where
.Step-by-step reproduction instructions
.
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: