Remove the 'top' definition from .mw-ui-icon-element:before
authorPrateek Saxena <prtksxna@gmail.com>
Wed, 7 Jan 2015 00:50:05 +0000 (06:20 +0530)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 7 Jan 2015 14:14:36 +0000 (14:14 +0000)
This was making the icon stick to the top of the button it was
inside. We couldn't find an example of the issue that the earlier
patch was trying to fix (on #wikimedia-mobile).

Bug: T85778
Change-Id: Ifea204ee9b86b01f61f3c48372619dadce64da9b
Reverts: Iadd741f02155a9b5ddeb6cd8ff64fa13ae5506d7

resources/src/mediawiki.ui/components/icons.less

index 40d1723..0912554 100644 (file)
@@ -49,7 +49,6 @@
                min-width: @width;
                max-width: @width;
                &:before {
-                       top: 0;
                        left: 0;
                        right: 0;
                        position: absolute;