mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-02 03:07:13 +00:00
cb64e8f7ba
[Visual Changes in this patch] This patch introduces changes to whitespace inside the Mustache template which corresponds to an HTML change, resulting 33 minor changes in pixel, the spacing of the ToC label shifts by 1 pixel - Remove page tools feature flag from TOC - Remove usage of .vector-toc-collapsed and .vector-toc-not-collapsed - Remove now unused `moveToc()` - Update jest tests to use PinnableHeader Bug: T318013 Change-Id: I82f23e69b0249c844af9e45fec342217a0755893
19 lines
646 B
Plaintext
19 lines
646 B
Plaintext
<nav id="mw-panel-toc" class="sidebar-toc" role="navigation" aria-label="{{ msg-vector-toc-label }}" data-event-name="ui.sidebar-toc">
|
|
{{#data-pinnable-header}}
|
|
{{>PinnableHeader}}
|
|
{{/data-pinnable-header}}
|
|
<ul class="sidebar-toc-contents" id="mw-panel-toc-list">
|
|
{{#is-vector-toc-beginning-enabled}}
|
|
<li id="toc-mw-content-text"
|
|
class="sidebar-toc-list-item sidebar-toc-level-1">
|
|
<a href="#" class="sidebar-toc-link">
|
|
<div class="sidebar-toc-text">{{ msg-vector-toc-beginning }}</div>
|
|
</a>
|
|
</li>
|
|
{{/is-vector-toc-beginning-enabled}}
|
|
{{#array-sections}}
|
|
{{>TableOfContents__line}}
|
|
{{/array-sections}}
|
|
</ul>
|
|
</nav>
|