From: Baha Date: Mon, 8 Aug 2016 22:03:06 +0000 (-0400) Subject: MWUI: Vertically align the icon pseudo elements X-Git-Tag: 1.31.0-rc.0~6062^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=e3c4197cd98cf1da0802884378e7be854ccdb134;p=lhc%2Fweb%2Fwiklou.git MWUI: Vertically align the icon pseudo elements The icon element's image was not always in the vertical center depending on the line height of the icon. Bug: T142391 Change-Id: I4d73c27286a623cb82e2f8801c919ae6f8007e59 --- diff --git a/resources/src/mediawiki.ui/components/icons.less b/resources/src/mediawiki.ui/components/icons.less index 9b9d32470d..b4edc50db7 100644 --- a/resources/src/mediawiki.ui/components/icons.less +++ b/resources/src/mediawiki.ui/components/icons.less @@ -26,6 +26,7 @@ .mw-ui-icon { position: relative; + line-height: @iconSize; min-height: @iconSize; min-width: @iconSize;