Page MenuHomePhabricator

"justify paragraphs" preference is applied too strongly
Closed, DeclinedPublic

Description

(I'm sorry if this is not formulated very precisely.)

As a temporary workaround to Bug 28573 i added this to Print.css in he.wp:

div.center {

text-align: center;

}

This works, but only if the "justify paragraphs" option is disabled in the preferences. If it is enabled, the image is still aligned to the right, because the justify paragraphs takes over the definition in Print.css. This is the default, so it probably doesn't affect most users, but still should be fixed.

There's also another possibility - that i should have added something else to Print.css.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=52810

Details

Reference
bz28593

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:31 PM
bzimport set Reference to bz28593.
bzimport added a subscriber: Unknown Object (MLST).

I'm unclear on what you want changed. The justify preference just adds the rule:

#article, #bodyContent, #mw_content { text-align: justify; }

So it shouldn't override your rule.

Related justify bugs - bug 20184

The image is not centered in printable version for me - with or without justify paragraphs option on

Amir: thoughts on removing the user preference altogether (bug 52810)?

The preference was just recently removed (bug 52810), I guess that makes this a WONTFIX.