New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Code editor title width in classic theme #56922
Conversation
Size Change: +2 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
Flaky tests detected in 096be5b. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7154962755
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix. Looks good in testing 👍
Thanks for the review! |
Related to #54718
What?
This PR fixes an issue where the width of the title area is restricted when switching to the code editor in the classic theme.
Why?
If a theme does not have a
theme.json
file, a CSS file that defines the default layout will be loaded. This CSS file defines the maximum width of the block, and this style also affects the title in the code editor.How?
Use
max-width: none;
to remove the maximum title width restriction.Testing Instructions