-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Layout alignment issue due to global padding on wide blocks (WP 6.6 RC1) #63008
Comments
@tellthemachines and @richtabor just an FYI about this one. Does this sound like a bug in the recently shipped rules changes, or do themes need to update how they construct their patterns? In this case since it might affect content out in the wild, I wasn't sure the scope of the issue. |
I believe it was a deliberate decision but might be good to confirm with @richtabor because it's hard to anticipate the exact effects of these rules, so this could have been an unintended consequence. |
Adding to 6.6 board to be safe either way. |
What exactly do theme developers need to change in order to make their layout work in multiple WordPress versions? |
Nothing. 🙂 #63207 |
Description
Since the implementation of #60715, “Padding is applied to all blocks with constrained layout that are full width or wide width.”
This change has introduced layout issues where the content no longer aligns as expected.
See the screenshots below for examples with the Twenty Twenty-Four theme and a WordPress.com theme.
Step-by-step reproduction instructions
Steps to reproduce:
Screenshots, screen recording, code snippet
https://2024.wordpress.net/index.php/entrepreneur-demo/
https://greensteaddemo.wordpress.com/
Environment info
WordPress 6.6 RC1
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: