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
This commit is contained in:
AronDemian 2020-06-16 18:55:23 +02:00
parent cbc930eefd
commit 772fb26683
2 changed files with 4 additions and 4 deletions

View file

@ -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.

View file

@ -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 );