Put interwiki search results after local results
authorErik Bernhardson <ebernhardson@wikimedia.org>
Tue, 7 Jun 2016 22:16:02 +0000 (15:16 -0700)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Tue, 7 Jun 2016 22:17:16 +0000 (15:17 -0700)
When showing both local and interwiki results both sets of results end
up being floated left. This means that on certain screen sizes the
results are shown side by side rather than one above the other. Fix that
by making the interwiki header clear: both.

Change-Id: Ife0df1fd2020b0b8b28e1ec9e6c58bbc23906573

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

index 26c500d..da356b1 100644 (file)
@@ -35,6 +35,9 @@ div.searchresult {
        margin-left: 0;
        float: left;
 }
+.mw-search-interwiki-header {
+       clear: both;
+}
 .mw-search-results li {
        padding-bottom: 1.2em;
        list-style: none;