-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 width of Template Parts view #50836
Conversation
Size Change: +5 B (0%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
Flaky tests detected in 2f8e2b0. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5044814671
|
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.
I got a little confused by the new Library 😄 but that is unrelated, and the width looks correct now, thank you.
Fixes #50815
What?
Fixes a style regression in #49910 where the "All template parts" screen was not taking up the full width available.
How?
As far as I can tell, this style only affects the "All templates" and "All template parts" screen in the Site Editor.
The reason the bug only reproduces in the "All template parts" screen (at least for the Twenty Twenty-Three theme) is that the template parts don't have these descriptions that push out the content width:
Testing Instructions
/wp-admin/site-editor.php?path=%2Fwp_template_part%2Fall
. The white content card should take up the width available./wp-admin/site-editor.php?path=%2Fwp_template%2Fall
. It should be the same as before.