Merge "WLFilters: wrap Watchlist-details in a div instead of a p"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 31 Aug 2017 17:47:05 +0000 (17:47 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 31 Aug 2017 17:47:05 +0000 (17:47 +0000)
includes/EditPage.php
resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.WatchlistTopSectionWidget.less

index 40913bb..4451867 100644 (file)
@@ -4086,7 +4086,7 @@ class EditPage {
         *   where bool indicates the checked status of the checkbox
         * @return array
         */
-       protected function getCheckboxesDefinition( $checked ) {
+       public function getCheckboxesDefinition( $checked ) {
                global $wgUser;
                $checkboxes = [];
 
index bbe4528..5e1e118 100644 (file)
@@ -1,7 +1,15 @@
 .mw-rcfilters-ui-watchlistTopSectionWidget {
+       &-watchlistDetails {
+               width: 100%;
+       }
+
        &-editWatchlistButton {
-               float: right;
-               margin-left: 3em;
+               vertical-align: bottom;
+
+               // actual button
+               .oo-ui-buttonWidget {
+                       margin-left: 3em;
+               }
        }
 
        &-savedLinks {