Fix CSS causing multiple TOC landmarks to be present

Change-Id: Ib54fa49df5def9372a2a42b66a73a0c4936df5a2
This commit is contained in:
bwang 2023-05-08 18:20:02 -05:00
parent 934a448c0a
commit 70fb73c692
2 changed files with 4 additions and 4 deletions

View file

@ -132,9 +132,9 @@
}
&.vector-feature-toc-pinned-disabled body:not( .vector-sticky-header-visible ) .vector-page-titlebar,
&.vector-feature-toc-pinned-disabled .vector-sticky-header-visible .vector-sticky-header,
&.vector-feature-toc-pinned-disabled .vector-sticky-header-visible .vector-sticky-header-context-bar,
&.vector-feature-toc-pinned-enabled .mw-page-container-inner {
.vector-toc-landmark {
> .vector-toc-landmark {
display: block;
}
}

View file

@ -112,9 +112,9 @@
}
&.vector-feature-toc-pinned-disabled body:not( .vector-sticky-header-visible ) .vector-page-titlebar,
&.vector-feature-toc-pinned-disabled .vector-sticky-header-visible .vector-sticky-header,
&.vector-feature-toc-pinned-disabled .vector-sticky-header-visible .vector-sticky-header-context-bar,
&.vector-feature-toc-pinned-enabled .mw-page-container-inner {
.vector-toc-landmark {
> .vector-toc-landmark {
display: block;
}
}