Make WordPress Core

#47937 closed defect (bug) (fixed)

Twenty Nineteen: Center-aligned images in columns break beyond the column boundaries.

Reported by: kjellr Owned by: SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-patch has-screenshots
Focuses: Cc:


As reported over in the Gutenberg repository:

Center-aligned images within columns in Twenty Nineteen inherit an incorrect max-width, which forces them to extend beyond the column itself:


The attached patch corrects this by limiting the max-width of the image's figure wrapper to 100%:


Attachments (1)

47937.diff (2.5 KB) - added by kjellr 15 months ago.

Download all attachments as: .zip

Change History (3)

15 months ago

#1 @SergeyBiryukov
15 months ago

  • Milestone changed from Awaiting Review to 5.3

#2 @SergeyBiryukov
15 months ago

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

In 45897:

Twenty Nineteen: Make sure center-aligned images in columns do not break beyond the column boundaries.

Props kjellr.
Fixes #47937.

Note: See TracTickets for help on using tickets.