From e3c4197cd98cf1da0802884378e7be854ccdb134 Mon Sep 17 00:00:00 2001 From: Baha Date: Mon, 8 Aug 2016 18:03:06 -0400 Subject: [PATCH] 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 --- resources/src/mediawiki.ui/components/icons.less | 1 + 1 file changed, 1 insertion(+) 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; -- 2.20.1