From 38d7c935be8ee63f23e3dc6634bfe59954c4ef5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Laxstr=C3=B6m?= Date: Mon, 6 Jan 2014 08:01:03 +0000 Subject: [PATCH] Fix alignment issue of ULS trigger The calculated font-height is about 13.5px on my machine. For some reason the usage of Autonym font sways the rounding of the container height to 14px instead of 13px as for other items. I found out that setting line-height to 1em or 100% makes the trigger size also round to 13px, but I can't explain why. I didn't see any change in Modern or Monobook skins (Monobook is broken already with bold and icon missing). Bug: 59239 Change-Id: I71ed556f2ef707b7e5f5891d6fc0c88c01f6b0ca --- resources/css/ext.uls.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/css/ext.uls.css b/resources/css/ext.uls.css index f6951b90..504b2b69 100644 --- a/resources/css/ext.uls.css +++ b/resources/css/ext.uls.css @@ -18,6 +18,8 @@ #pt-uls a.uls-trigger { padding-left: 30px; + /* Fix alignment in vector: https://bugzilla.wikimedia.org/59239 */ + line-height: 1; } #p-lang .uls-settings-trigger {