mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 01:20:07 +00:00
Update ToC selector to account for page tools
Change-Id: Ib2504bf16969d3b6af2a827ae7b7cfd8aa5fc468
This commit is contained in:
parent
1e69e2de1e
commit
6eb5bd05fb
|
@ -169,12 +169,15 @@
|
||||||
// Align with vector-toc-collapsed-button which uses core flush classes
|
// Align with vector-toc-collapsed-button which uses core flush classes
|
||||||
// using temporary hardcoded value.
|
// using temporary hardcoded value.
|
||||||
// FIXME: Remove this entire selector as part of T318013
|
// FIXME: Remove this entire selector as part of T318013
|
||||||
.vector-feature-visual-enhancement-next-enabled.vector-toc-collapsed:not( .vector-sticky-header-visible ) .sidebar-toc {
|
.vector-feature-visual-enhancement-next-enabled {
|
||||||
@media ( min-width: @width-breakpoint-desktop ) {
|
&.vector-feature-page-tools-disabled.vector-toc-collapsed:not( .vector-sticky-header-visible ) .sidebar-toc,
|
||||||
// Copied from mediawiki.ui.icons,
|
&.vector-feature-page-tools-enabled.vector-toc-unpinned:not( .vector-sticky-header-visible ) .sidebar-toc {
|
||||||
// (Ifccaadabd72a12814d3d4d01200931f7254c6cd5)
|
@media ( min-width: @width-breakpoint-desktop ) {
|
||||||
// but converted to px to match `mw-ui-button`
|
// Copied from mediawiki.ui.icons,
|
||||||
left: -5px;
|
// (Ifccaadabd72a12814d3d4d01200931f7254c6cd5)
|
||||||
|
// but converted to px to match `mw-ui-button`
|
||||||
|
left: -5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue