bug 31990 justify paragraphs pref adds extra space to category listing
authorAntoine Musso <hashar@users.mediawiki.org>
Mon, 7 Nov 2011 16:46:22 +0000 (16:46 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Mon, 7 Nov 2011 16:46:22 +0000 (16:46 +0000)
When text justification is enabled in user preference, the category list
could show a large space before the first category. Overriding the element
to use left justification is enough to fix the spacing issue albeit the
categories will no more justified.

Thanks to lupo with bug 31990 comments number 8 hinting at the catlinks
element not being properly justified.

This is a regression in REL1_18 and need a backport.

RELEASE-NOTES-1.18
skins/common/shared.css

index 6450669..5587230 100644 (file)
@@ -491,6 +491,7 @@ production.
 * (bug 31822) Error during upgrade due to output buffer reset in stdout
 * (bug 31913) Special:MostLinkedTemplates had an incorrect GROUP BY clause
   under Microsoft SQL.
+* (bug 31990) justify paragraphs pref adds extra space to category listing
 
 === API changes in 1.18 ===
 * BREAKING CHANGE: action=watch now requires POST and token.
index d7bce5a..2d084a3 100644 (file)
@@ -272,6 +272,13 @@ input#wpSummary {
 /**
  * Categories
  */
+#catlinks {
+       /**
+        * Overrides text justification (user preference)
+        * See bug 31990
+        */
+       text-align: left;
+}
 .catlinks ul {
        display: inline;
        margin: 0;