gutenberg
gutenberg copied to clipboard
Layout alignment issue due to global padding on wide blocks (WP 6.6 RC1)
Description
Since the implementation of https://github.com/WordPress/gutenberg/pull/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:
- Visit https://2024.wordpress.net/index.php/entrepreneur-demo (which showcases the Blog Home template of the default theme)
- Scroll to the third section "An array of resources" and fifth section "Watch, Read, Listen"
- Observe that the content isn’t correctly aligned
Screenshots, screen recording, code snippet
https://2024.wordpress.net/index.php/entrepreneur-demo/
| WordPress 6.5 | WordPress 6.6 RC1 |
|---|---|
https://greensteaddemo.wordpress.com/
| WordPress 6.5 | WordPress 6.6 RC1 |
|---|---|
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