[Grid] Add TableOfContentsContainer

In preparation for grid work where the table of contents will
be moved into a new container.

Bug: T303484
Change-Id: I931d5148e314c1c05f0474b47be5efd7c166144d
This commit is contained in:
Jon Robson 2022-06-01 16:43:11 -07:00 committed by Jdlrobson
parent 3bc8b3a40e
commit 02fb90531b
2 changed files with 4 additions and 4 deletions

View File

@ -0,0 +1,3 @@
<div class="mw-table-of-contents-container mw-sticky-header-element">
{{#data-toc}}{{>TableOfContents}}{{/data-toc}}
</div>

View File

@ -44,7 +44,6 @@
{{>Header}}
<div class="mw-workspace-container">
<div id="mw-navigation">
{{^is-title-above-tabs}}
{{>ArticleToolbar}}
@ -52,9 +51,7 @@
{{#data-portlets-sidebar}}{{>Sidebar}}{{/data-portlets-sidebar}}
</div>
<div class="mw-table-of-contents-container mw-sticky-header-element">
{{#data-toc}}{{>TableOfContents}}{{/data-toc}}
</div>
{{>TableOfContentsContainer}}
<div class="mw-content-container">
{{! `role` is unnecessary but kept to support selectors in any gadgets or user styles. }}
<main id="content" class="mw-body" role="main">