Make WordPress Core

Opened 7 weeks ago

Closed 7 weeks ago

Last modified 7 weeks 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
7 weeks 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:


7 weeks ago
#3

Committed in r58243.

Note: See TracTickets for help on using tickets.