From 3c6e554db1b455cbe91243065197421a32c03dad Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 7 Nov 2011 16:46:22 +0000 Subject: [PATCH] bug 31990 justify paragraphs pref adds extra space to category listing 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 | 1 + skins/common/shared.css | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/RELEASE-NOTES-1.18 b/RELEASE-NOTES-1.18 index 6450669196..558723009f 100644 --- a/RELEASE-NOTES-1.18 +++ b/RELEASE-NOTES-1.18 @@ -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. diff --git a/skins/common/shared.css b/skins/common/shared.css index d7bce5a078..2d084a30e6 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -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; -- 2.20.1