From: Rob Moen Date: Tue, 2 Dec 2014 22:29:20 +0000 (-0800) Subject: Before pseudo elements are not always perfectly in line X-Git-Tag: 1.31.0-rc.0~13104^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=b7dc19a958531c0c3c8522241fb189bc0ae8be40;p=lhc%2Fweb%2Fwiklou.git Before pseudo elements are not always perfectly in line This results in the psudo element's top inline with the element's top Change-Id: Iadd741f02155a9b5ddeb6cd8ff64fa13ae5506d7 --- diff --git a/resources/src/mediawiki.ui/components/icons.less b/resources/src/mediawiki.ui/components/icons.less index 0912554c9e..40d1723691 100644 --- a/resources/src/mediawiki.ui/components/icons.less +++ b/resources/src/mediawiki.ui/components/icons.less @@ -49,6 +49,7 @@ min-width: @width; max-width: @width; &:before { + top: 0; left: 0; right: 0; position: absolute;