From df14b078c0c2822e9f6638f9a20edaa7c1995252 Mon Sep 17 00:00:00 2001 From: Sam Wilson Date: Wed, 23 Sep 2020 10:15:08 +0800 Subject: [PATCH] Fix style of clock icon in changes lists Override core styles for the watchlist expiry clock icon in Recent Changes and Watchlists. Bug: T261415 Depends-On: I621b1571b57686beb9fb5802533b1e70d293bc2a Change-Id: Iefdd271aeb6135771aae832e930fe02c73248110 --- skin.json | 3 ++- .../mediawiki.special.changeslist.watchlistexpiry.less | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 skinStyles/mediawiki.special.changeslist.watchlistexpiry.less diff --git a/skin.json b/skin.json index c3f4f0943..0a8a323cf 100644 --- a/skin.json +++ b/skin.json @@ -239,7 +239,8 @@ "skinStyles/mediawiki.content-json/minerva.less" ], "mediawiki.special.changeslist": [ - "skinStyles/mediawiki.special.changeslist.less" + "skinStyles/mediawiki.special.changeslist.less", + "skinStyles/mediawiki.special.changeslist.watchlistexpiry.less" ], "mediawiki.special.changeslist.legend": [ "skinStyles/mediawiki.special.changeslist.legend.less" diff --git a/skinStyles/mediawiki.special.changeslist.watchlistexpiry.less b/skinStyles/mediawiki.special.changeslist.watchlistexpiry.less new file mode 100644 index 000000000..f38805012 --- /dev/null +++ b/skinStyles/mediawiki.special.changeslist.watchlistexpiry.less @@ -0,0 +1,9 @@ +.skin-minerva { + .mw-changesList-watchlistExpiry.oo-ui-iconElement-icon { + top: 4px; + } + + .mw-watchlistexpiry-msg { + margin-left: 0; + } +}