Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#21926 closed defect (bug) (fixed)

Margin Weirdness in Twenty Twelve with text, photos

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

Description

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 14 years ago.

Download all attachments as: .zip

Change History (6)

#1 @nacin
14 years ago

  • Component ThemesBundled Theme
  • Milestone Awaiting Review3.5

#2 @johnbierly
14 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
14 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
14 years ago

  • Owner set to lancewillett
  • Resolutionfixed
  • Status newclosed

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
14 years ago

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

Note: See TracTickets for help on using tickets.