From 9a5ca12d2af255bb0ee48338d1b6322486c97d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thiemo=20M=C3=A4ttig?= Date: Sat, 22 Mar 2014 17:47:24 +0100 Subject: [PATCH] Reduce line-height of possibly broken "200 more languages" label Depending on the browser, skin, zoom and language the "200 more languages" label breaks into two lines. The line height is so big that it looks like "200 weitere Sprachen" in German. The margin to the top (where the [...] button is) and to the bottom (where the Wikidata "Edit links" link is) is much smaller than the line-height. My additional margin is choosen in a way that the design is still pixel perfect if the text fits in one line. Change-Id: I2fd797998a4f4e72a3764a72873f1356efc0dfb3 --- resources/css/ext.uls.compactlinks.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/css/ext.uls.compactlinks.css b/resources/css/ext.uls.compactlinks.css index a71f3d33..dc01bf85 100644 --- a/resources/css/ext.uls.compactlinks.css +++ b/resources/css/ext.uls.compactlinks.css @@ -1,7 +1,9 @@ #more-lang-label { color: #8b8989; - font-size: 12px; display: block; + font-size: 12px; + line-height: 1.2; + margin: 5px 0; } #p-lang-list .uls-trigger {