Fix table of contents when sidebar is open
Bug: T309807 Change-Id: If370246d13984981f4c3477fda2b2dce45337d91
This commit is contained in:
parent
a47f46009e
commit
393928a280
|
@ -203,6 +203,9 @@ body {
|
|||
// ensuring the TOC is 1.5em (24px) from the top of the viewport
|
||||
// unless .mw-sticky-header-element overrides it.
|
||||
top: ~'calc( 1.5em - @{top-margin-sidebar-toc_title_inline} )';
|
||||
@{selector-workspace-container-sidebar-open} & {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.vector-layout-legacy & {
|
||||
clear: both;
|
||||
|
|
Loading…
Reference in New Issue