Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#21739 closed defect (bug) (fixed)

Twenty Twelve: mobile-first text alignment override for 600 plus layout breaks WYSIWYG alignment options

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

Description

Minor but should be fixed soon.

When you use the Visual Editor to assign right, center, or justified alignment -- the alignment is overridden by the > 600px media rules which sets the alignment to always be left.

Example on WP.com: ​http://mayukhmukherjee.wordpress.com/2012/07/25/linux-kernel-with-updated-power-management/ -- the body text is set to justified in the Visual Editor, but is forced left on display.

Attachments (2)

21739.diff​ (432 bytes ) - added by obenland 14 years ago.
21739.1.diff​ (891 bytes ) - added by obenland 14 years ago.

Download all attachments as: .zip

Change History (4)

#1 @lancewillett
14 years ago

Turns out this was probably user-generated markup, since core WP and also WP.com both put the inline style from the Visual Editor on the paragraph element itself, not adding a surrounding div element like in the bug report.

#2 @lancewillett
14 years ago

  • Owner set to lancewillett
  • Resolution → fixed
  • Status new → closed

In [21667]:

Twenty Twelve: remove aggressive text-align rule, set to inherit instead to allow editor-added styles to justify per author's desire. Props obenland, fixes #21739.

Note: See TracTickets for help on using tickets.