SpecialSearch: Fix overlap between results info and search bar
authorChad Horohoe <chadh@wikimedia.org>
Wed, 2 Jul 2014 01:33:48 +0000 (18:33 -0700)
committerChad Horohoe <chadh@wikimedia.org>
Wed, 2 Jul 2014 01:35:08 +0000 (18:35 -0700)
Followup to 1896d06, lost a clear:both in the process.

Bug: 67184
Change-Id: If0b6df347315bfe5b6f9a7aa9c6730cbdf44fd38

includes/specials/SpecialSearch.php

index f119288..88a0380 100644 (file)
@@ -1101,7 +1101,8 @@ class SpecialSearch extends SpecialPage {
                                ->params( wfEscapeWikiText( $term ) )
                                ->numParams( $resultsShown )
                                ->parse();
-                       $out .= Xml::tags( 'div', array( 'class' => 'results-info' ), $top );
+                       $out .= Xml::tags( 'div', array( 'class' => 'results-info' ), $top ) .
+                               Xml::element( 'div', array( 'style' => 'clear:both' ) );
                }
 
                return $out . $this->didYouMeanHtml;