Explicitly specify the width of the search input on Special:Search
authorFlorian <florian.schmidt.stargatewissen@gmail.com>
Fri, 10 Jun 2016 14:29:15 +0000 (16:29 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 14 Jun 2016 16:20:51 +0000 (18:20 +0200)
This ensures that, even with float:left on the element, Firefox tries to render
the input field with as much space as possible (up to 50em).

Bug: T137535
Change-Id: I10fed035328d82f680d268f3bb116ca07d1ee576

resources/src/mediawiki.special/mediawiki.special.search.styles.css

index da356b1..ae3c01b 100644 (file)
@@ -89,6 +89,7 @@ div.searchresult {
 }
 #mw-search-top-table div.oo-ui-actionFieldLayout {
        float: left;
+       width: 100%;
 }
 fieldset#mw-searchoptions {
        margin: 0;