* @return string
*/
protected function searchProfileTabs( $term ) {
- $out = Xml::openElement( 'div', [ 'class' => 'mw-search-profile-tabs' ] );
+ $out = Html::element( 'div', [ 'class' => 'visualClear' ] ) .
+ Xml::openElement( 'div', [ 'class' => 'mw-search-profile-tabs' ] );
$bareterm = $term;
if ( $this->startsWithImage( $term ) ) {
->numParams( $this->offset + 1, $this->offset + $resultsShown, $totalNum )
->numParams( $resultsShown )
->parse();
- $out .= Xml::tags( 'div', [ 'class' => 'results-info' ], $top ) .
- Xml::element( 'div', [ 'style' => 'clear:both' ], '', false );
+ $out .= Xml::tags( 'div', [ 'class' => 'results-info' ], $top );
}
return $out;