From 8148d9082d7f043e9a7b510b06e60af3b8182887 Mon Sep 17 00:00:00 2001 From: Stephane Bisson Date: Thu, 31 Aug 2017 08:24:24 -0400 Subject: [PATCH] WLFilters: adapt to customized watchlist-details The watchlist-details message is sometimes customized to add community notices, which makes it much taller. This fixes the position of the 'edit watchlist' button so it's always right and bottom aligned regardless of the size of the watchlist-details section. Bug: T172030 Change-Id: I8b6b9d799f7929a1d78c8f0e30020a4222fc3bb6 --- .../mw.rcfilters.ui.WatchlistTopSectionWidget.less | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.WatchlistTopSectionWidget.less b/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.WatchlistTopSectionWidget.less index bbe4528d7d..5e1e11845d 100644 --- a/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.WatchlistTopSectionWidget.less +++ b/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.WatchlistTopSectionWidget.less @@ -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 { -- 2.20.1