diff --git a/resources/skins.vector.styles/TabWatchstarLink-ie8.less b/resources/skins.vector.styles/TabWatchstarLink-ie8.less index e0a1cc77e..a2ea27139 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 90186c985..92a6e0f2d 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 );