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
This commit is contained in:
Thiemo Mättig
2014-03-22 17:47:24 +01:00
parent 0fd434c87a
commit 9a5ca12d2a

View File

@@ -1,7 +1,9 @@
#more-lang-label { #more-lang-label {
color: #8b8989; color: #8b8989;
font-size: 12px;
display: block; display: block;
font-size: 12px;
line-height: 1.2;
margin: 5px 0;
} }
#p-lang-list .uls-trigger { #p-lang-list .uls-trigger {