-
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
Fix reusable block horizontal padding regression. #21312
Conversation
Size Change: +20 B (0%) Total Size: 889 kB
ℹ️ View Unchanged
|
https://github.com/WordPress/gutenberg/pull/21099/files#diff-ee2ed3adbe2578628039530c717a9a93R640 introduced a padding attached to the is-root-container. But a reusable block is also a root container. This PR unsets that.
fe90811
to
abb52be
Compare
Nice catch, I'll address that in a separate PR, because this PR is only about the horizontal paddings and therefore relatively "safe", but the fix you suggest needs a little bit more scrutiny. |
This is a followup and addition to #21312. It's separate because it's not a regression.
I created #21472 to fix the vertical margin separately. Also pushed a small fix to address a navigation mode border shift. |
Thanks @jasmussen. In that case, I think this one is good to go. Nice fix! |
Thanks! Can you approve the PR? |
Done! |
This is a followup and addition to #21312. It's separate because it's not a regression.
This is a followup and addition to #21312. It's separate because it's not a regression.
https://github.com/WordPress/gutenberg/pull/21099/files#diff-ee2ed3adbe2578628039530c717a9a93R640 introduced a padding attached to the is-root-container. But a reusable block is also a root container.
This PR unsets that.
Before:
After: