Skip to content

Layout alignment issue due to global padding on wide blocks (WP 6.6 RC1) #63008

Closed

Description

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:

  1. Visit https://2024.wordpress.net/index.php/entrepreneur-demo (which showcases the Blog Home template of the default theme)
  2. Scroll to the third section "An array of resources" and fifth section "Watch, Read, Listen"
  3. 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
2024-before 2024-after

https://greensteaddemo.wordpress.com/

WordPress 6.5 WordPress 6.6 RC1
WordPresscom-before WordPresscom-after

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    [Feature] LayoutLayout block support, its UI controls, and style output.[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions