Make WordPress Core

Opened 3 years ago

Last modified 8 months ago

#53748 new defect (bug)

wp_render_layout_support_flag assumes centered layout

Reported by: douglasjohnson's profile douglasjohnson Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.8
Component: Themes Keywords: close
Focuses: css Cc:

Description

When applying sizes to a block, margin is also added.

https://core.trac.wordpress.org/browser/tags/5.8/src/wp-includes/block-supports/layout.php#L74

What if a theme doesn't want all content centered?

Change History (1)

#1 @poena
8 months ago

  • Keywords close added

Hi

I propose closing this issue because there has been many improvements to the layout support in the past three years, and there are more ways for a theme to control the layout and margins.

If more specific details can be added to the issue, it would be easier to test if it is something that still needs to be addressed.

But I would also suggest that because the issue involves the block editor, an issue should be opened in the Gutenberg GitHub repository, and this ticket closed as 'reported upstream'.

Note: See TracTickets for help on using tickets.