Make WordPress Core

Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#61313 closed defect (bug) (fixed)

Negative margins for alignfull children of blocks with custom padding

Reported by: isabel_brison's profile isabel_brison Owned by: isabel_brison's profile isabel_brison
Milestone: 6.6 Priority: normal
Severity: normal Version: 6.6
Component: Editor Keywords: gutenberg-merge has-patch
Focuses: Cc:

Description

Full aligned blocks inside blocks with custom padding should calculate their negative margins with regards to that padding value, whether or not content and wide width is set.

To that effect, the change from https://github.com/WordPress/gutenberg/pull/60716 needs to be synced to core.

Change History (3)

#2 @isabel_brison
6 months ago

  • Owner set to isabel_brison
  • Resolution set to fixed
  • Status changed from new to closed

In 58243:

Editor: Negative margins for alignfull children of blocks with custom padding.

Fixes a condition that was preventing align full blocks to extend full width when their parent block has custom padding.

Props richtabor, isabel_brison, ramonopoly.
Fixes #61313.

@isabel_brison commented on PR #6664:


6 months ago
#3

Committed in r58243.

Note: See TracTickets for help on using tickets.