mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-27 09:00:04 +00:00
06c243da35
- Prevents the ToC in the sidebar from jumping down when the sticky header becomes visible - Removes the `.sticky-header-element` class from the ToC since that only modifies the elements position when the sticky header becomes visible (whereas in this case, it should be modified when the sticky header is enabled, before it's visible). Bug: T314330 Change-Id: Ic6f50b8dc4f1507d875825d23eb44c24a998eaf7
9 lines
270 B
Plaintext
9 lines
270 B
Plaintext
<div class="mw-table-of-contents-container">
|
|
{{! T313060 Additional container div needed to prevent the sticky element from being siblings with the footer }}
|
|
{{#data-toc}}
|
|
<div class="vector-sticky-toc-container">
|
|
{{>TableOfContents}}
|
|
</div>
|
|
{{/data-toc}}
|
|
</div>
|