mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-13 17:57:06 +00:00
efe33d5d76
- We had to add nav element to wrap TOC in all places - Make sure proper nav is only displayed so landmark do not get confused - Remove Eslint block on rules compat/compat for no support IE 11, this was blocking commit - Run lint:fix:js and lint:fix:styles - Fix maxSize in bundlesize.config.json Bug: T324505 Change-Id: I36d26240b87de33318ff1edf97a410872a438103
11 lines
513 B
Plaintext
11 lines
513 B
Plaintext
<nav id="mw-panel-toc" role="navigation" aria-label="{{ msg-vector-toc-label }}" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark">
|
|
{{! T313060 Additional container div needed to prevent the sticky element from being siblings with the footer }}
|
|
{{#data-toc-pinnable-container}}
|
|
{{>PinnableContainer/Pinned/Open}}
|
|
{{#is-pinned}}
|
|
{{#data-toc}}{{>TableOfContents}}{{/data-toc}}
|
|
{{/is-pinned}}
|
|
{{>PinnableContainer/Close}}
|
|
{{/data-toc-pinnable-container}}
|
|
</nav>
|