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:
parent
cbc930eefd
commit
772fb26683
|
@ -15,7 +15,7 @@
|
||||||
@ie8-media-start: ~'@media \0screen {';
|
@ie8-media-start: ~'@media \0screen {';
|
||||||
@ie8-media-end: ~'} after';
|
@ie8-media-end: ~'} after';
|
||||||
@{ie8-media-start}
|
@{ie8-media-start}
|
||||||
.vector-tabs .mw-watchlink.icon a {
|
.vector-menu-tabs .mw-watchlink.icon a {
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
// Copied from 'MenuTabs.less'.
|
// Copied from 'MenuTabs.less'.
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// LESS nesting doesn't work in this hack.
|
// 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;
|
display: none;
|
||||||
}
|
}
|
||||||
// Bogus extra rule for LESS compiler to render `@media` ending bracket.
|
// Bogus extra rule for LESS compiler to render `@media` ending bracket.
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
/* Watch/Unwatch Icon Styling */
|
/* Watch/Unwatch Icon Styling */
|
||||||
/* Only use icon if the menu item is not collapsed into the "More" dropdown
|
/* 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`). */
|
* (in which case it is inside `.vector-menu-dropdown` instead of `.vector-menu-tabs`). */
|
||||||
.vector-tabs {
|
.vector-menu-tabs {
|
||||||
// `#ca-unwatch` & `#ca-watch` both carry `.mw-watchlink` as well.
|
// `#ca-unwatch` & `#ca-watch` both carry `.mw-watchlink` as well.
|
||||||
@width-watchlink: unit( 28 / @font-size-tabs / @font-size-browser, em );
|
@width-watchlink: unit( 28 / @font-size-tabs / @font-size-browser, em );
|
||||||
@height-watchlink: unit( 40 / @font-size-tabs / @font-size-browser, em );
|
@height-watchlink: unit( 40 / @font-size-tabs / @font-size-browser, em );
|
||||||
|
|
Loading…
Reference in New Issue