Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#21926 closed defect (bug) (fixed)

Margin Weirdness in Twenty Twelve with text, photos

Reported by: johnbierly Owned by: lancewillett
Milestone: 3.5 Priority: normal
Severity: normal Version: 3.4.2
Component: Bundled Theme Keywords: needs-patch
Focuses: Cc:


Hi! The 9/18/2012 nightly build still has a weird thing in the Twenty Twelve theme. Unlike version 0.6 from GitHub, 0.9 doesn't display the left border on left-aligned photos, and the right side edge of text sometimes gets cut off on mobile view. Thank you!

Attachments (1)

missingleftborder.png (80.5 KB) - added by johnbierly 9 years ago.

Download all attachments as: .zip

Change History (6)

#1 @nacin
9 years ago

  • Component changed from Themes to Bundled Theme
  • Milestone changed from Awaiting Review to 3.5

#2 @johnbierly
9 years ago

I attached a photo of the phenomenon. The alignment chosen when the photo was posted was "None." The borders are just fine on the 0.6 GitHub version of the theme.

#3 @lancewillett
9 years ago

  • Keywords needs-patch added

Thanks for the report.

This is related to #21740 — where we reviewed the overflow rules, as well as #21381 where the clearing float methods were simplified.

In the case of images aligned exactly to the left edge of their container, the shadow is indeed cut off since it requires 4 pixels of space.

#4 @lancewillett
9 years ago

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

In [21918]:

Twenty Twelve: remove overflow rule from wrapper element to allow image styles to spill out into margins. Fixes #21926. See also #21381.

#5 @lancewillett
9 years ago

See also #21940 for related issue with Jetpack Image Widget — overflow is too aggressive.

Note: See TracTickets for help on using tickets.