mediawiki-skins-Vector/includes/templates/TableOfContentsContainer.mustache
bwang 3a26cc220c Layout: restore sticky toc behavior by adding additional TOC container
Fix sticky behavior changed by impacted by e23fc1f

Change-Id: I7ead5e1d5954f772a533e1116f8c55d2d9cfd143
2022-06-30 21:40:14 +00:00

9 lines
323 B
Plaintext

{{! Grid element, spans full height }}
<div class="mw-table-of-contents-container">
{{! Sticky element, aligned with top of viewport }}
<div class="sticky-toc-container mw-sticky-header-element">
{{! TOC element, applies additional margins for spacing }}
{{#data-toc}}{{>TableOfContents}}{{/data-toc}}
</div>
</div>