From 772fb2668336f36620389a78d92d86c959e4e310 Mon Sep 17 00:00:00 2001 From: AronDemian Date: Tue, 16 Jun 2020 18:55:23 +0200 Subject: [PATCH] Restore Watchlist star Fixup for I8669d402b6b757cd5bf59a5e0df377b6023b0700: Applied `.vector-tabs` selector instead of `.vector-menu-tabs` Class `vector-menu-tabs` is added by VectorTemplate.php#383 Bug: T255574 Change-Id: Iae8176221662aa47dcd69123e9dd6a9d6693cd42 --- resources/skins.vector.styles/TabWatchstarLink-ie8.less | 4 ++-- resources/skins.vector.styles/TabWatchstarLink.less | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/skins.vector.styles/TabWatchstarLink-ie8.less b/resources/skins.vector.styles/TabWatchstarLink-ie8.less index e0a1cc7..a2ea271 100644 --- a/resources/skins.vector.styles/TabWatchstarLink-ie8.less +++ b/resources/skins.vector.styles/TabWatchstarLink-ie8.less @@ -15,7 +15,7 @@ @ie8-media-start: ~'@media \0screen {'; @ie8-media-end: ~'} after'; @{ie8-media-start} -.vector-tabs .mw-watchlink.icon a { +.vector-menu-tabs .mw-watchlink.icon a { width: auto; height: auto; // Copied from 'MenuTabs.less'. @@ -23,7 +23,7 @@ } // LESS nesting doesn't work in this hack. -.vector-tabs .mw-watchlink.icon a:before { +.vector-menu-tabs .mw-watchlink.icon a:before { display: none; } // Bogus extra rule for LESS compiler to render `@media` ending bracket. diff --git a/resources/skins.vector.styles/TabWatchstarLink.less b/resources/skins.vector.styles/TabWatchstarLink.less index 90186c9..92a6e0f 100644 --- a/resources/skins.vector.styles/TabWatchstarLink.less +++ b/resources/skins.vector.styles/TabWatchstarLink.less @@ -4,8 +4,8 @@ /* Watch/Unwatch Icon Styling */ /* Only use icon if the menu item is not collapsed into the "More" dropdown - * (in which case it is inside `.vector-menu-dropdown` instead of `.vector-tabs`). */ -.vector-tabs { + * (in which case it is inside `.vector-menu-dropdown` instead of `.vector-menu-tabs`). */ +.vector-menu-tabs { // `#ca-unwatch` & `#ca-watch` both carry `.mw-watchlink` as well. @width-watchlink: unit( 28 / @font-size-tabs / @font-size-browser, em ); @height-watchlink: unit( 40 / @font-size-tabs / @font-size-browser, em );