-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Template Editing Mode: Fix horizontal scrollbar #38612
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
Conversation
|
Size Change: +1 B (0%) Total Size: 1.14 MB
ℹ️ View Unchanged
|
jasmussen
left a comment
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.
Nice, thank you! I'm glad we're finding these edgecases as a result of the original PR.
|
I wanted to note, though, this fixes it for the edit-post package. But shouldn't we fix it also for the edit-site package? I know that doesn't yet have the dark frame, and the fact that the CSS is split between the two makes it hard to avoid drift. But it's very likely that gray frame will exist there in some form in the future, might as well prepare for it? |
|
Thank you for testing, @jasmussen. The issue currently only affects the post editor. I can see that the site editor still has reset and blanket rules: gutenberg/packages/edit-site/src/style.scss Lines 34 to 38 in 271703c
|
jameskoster
left a comment
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, it's working well :)

Description
PR fixes horizontal scrollbar inside template editing mode. This regression was introduced after removing blanked CSS rule for box-sizing (#37902).
Resolves #38374.
Testing Instructions
Screenshots
Types of changes
Bugfix/Regression
Checklist:
*.native.jsfiles for terms that need renaming or removal).