Vector: text-indent workaround for Firefox 27 bug
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 5 Feb 2014 18:00:29 +0000 (19:00 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 5 Feb 2014 18:00:29 +0000 (19:00 +0100)
Bug: 60900
Change-Id: I751a603d5886f72b8fbd8211564cedc424ea8d82

skins/vector/components/search.less

index a0eb658..ec0b2fa 100644 (file)
@@ -90,7 +90,8 @@ div#simpleSearch {
                height: 100%;
                cursor: pointer;
                /* Hide button text and replace it with the image. */
-               text-indent: 100%;
+               /* This would be 100% if not for Firefox shenanigans (bug 60900). */
+               text-indent: 200%;
                /* Needed to make IE6 respect the text-indent. */
                line-height: 1;
                /* Opera 12 on RTL flips the text in a funny way without this. */