Per Krinke on r91772, do not use general float/align classes. I removed them in share...
authorRobin Pepermans <robin@users.mediawiki.org>
Wed, 7 Sep 2011 05:23:16 +0000 (05:23 +0000)
committerRobin Pepermans <robin@users.mediawiki.org>
Wed, 7 Sep 2011 05:23:16 +0000 (05:23 +0000)
(I removed the vertical-align:bottom; because it is added by css for .collection-creatorbox-row img)

includes/HistoryPage.php
includes/specials/SpecialFileDuplicateSearch.php
skins/common/shared.css

index a5508ce..dd5ecd4 100644 (file)
@@ -420,7 +420,7 @@ class HistoryPager extends ReverseChronologicalPager {
                                'type' => 'submit',
                                'name' => $name,
                                'value' => '1',
-                               'class' => "mw-history-$name-button mw-float-end",
+                               'class' => "mw-history-$name-button",
                        ),
                        wfMsg( $msg )
                ) . "\n";
index 67f8a2d..0a7a6ef 100644 (file)
@@ -130,7 +130,7 @@ class FileDuplicateSearchPage extends QueryPage {
                        if ( $img ) {
                                $thumb = $img->transform( array( 'width' => 120, 'height' => 120 ) );
                                if( $thumb ) {
-                                       $out->addHTML( '<div class="mw-float-end" id="mw-fileduplicatesearch-icon">' .
+                                       $out->addHTML( '<div id="mw-fileduplicatesearch-icon">' .
                                                $thumb->toHtml( array( 'desc-link' => false ) ) . '<br />' .
                                                wfMsgExt( 'fileduplicatesearch-info', array( 'parse' ),
                                                        $this->getLang()->formatNum( $img->getWidth() ),
index 4194aba..13eef3a 100644 (file)
@@ -52,11 +52,6 @@ input[dir="rtl"] {
        direction: rtl;
 }
 
-.mw-float-start { float: left; }
-.mw-float-end { float: right; }
-.mw-align-start { text-align: left; }
-.mw-align-end { text-align: right; }
-
 /* The scripts of these languages are very hard to read with underlines */
 [lang="ar"] a,
 [lang="ckb"] a,
@@ -406,6 +401,10 @@ table.os-suggest-results {
        border: 1px dashed #aaa;
 }
 
+.mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
+       float: right;
+}
+
 /** Generic minor/bot/newpage styling (recent changes) */
 .newpage,
 .minor,