-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Global styles: controls in grid should match between sidebar panel and editor #67602
Conversation
… global styles panel.
Size Change: +9 B (0%) Total Size: 1.83 MB
ℹ️ View Unchanged
|
Nice one, thank you! I think the only question here is one for @WordPress/gutenberg-components — is this the right way to size up these controls? |
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Yes, this is a pretty common way to do it, and we're doing it in a bunch of places already. I actually think it could be declared better at the block editor package level, so one doesn't have to do it again for every panel. |
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 👍
…d editor (#67602) Co-authored-by: ramonjd <[email protected]> Co-authored-by: tyxla <[email protected]> Co-authored-by: jasmussen <[email protected]>
What?
Ensure that the single columns in the toolbar grid match the editor's global styles panel.
Why?
They don't match.
How?
Use the same CSS rule.
Testing Instructions
Open the Site Editor > Style > Typography > Text, or any style with typography controls, e.g., paragraph block etc.
Check that the single column blocks span as they do in the editor global styles panel.
Refer to screenshots below.
Screenshots or screencast
Typography > Text
Paragraph block
Global styles panel in editor for reference