diff --git a/resources/skins.vector.styles/components/TableOfContents.less b/resources/skins.vector.styles/components/TableOfContents.less index c9ed08f97..6a1c7894d 100644 --- a/resources/skins.vector.styles/components/TableOfContents.less +++ b/resources/skins.vector.styles/components/TableOfContents.less @@ -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; } } diff --git a/resources/skins.vector.zebra.styles/components/TableOfContents.less b/resources/skins.vector.zebra.styles/components/TableOfContents.less index 09d0db969..73ed63339 100644 --- a/resources/skins.vector.zebra.styles/components/TableOfContents.less +++ b/resources/skins.vector.zebra.styles/components/TableOfContents.less @@ -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; } }