Container Queries break editor style loading #49862
Labels
CSS Styling
Related to editor and front end styles, CSS-specific issues.
[Feature] Themes
Questions or issues with incorporating or styling blocks in a theme.
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
Description
Adding an editor stylesheet to a theme does not work if that stylesheet contains CSS container queries.
This includes styles that are not container queries.
Step-by-step reproduction instructions
Add a container query such as the following to the editor stylesheet:
Now load the editor and observe that all editor styles from the file fail to be applied.
Screenshots, screen recording, code snippet
No response
Environment info
WP 6.2
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: