Background
Spun off from 2nd design use case outlined in T308689 -- see T308689#8009800
Description
Make the collapsible Table of Contents available in the sticky header for view ports above desktop
This work is blocked by T307901
Design
Sticky header present (this includes all logged-in people on screens more than 1000px wide)**
Note: logged-in people have a sticky header
closed | open |
---|---|
Acceptance criteria
- The table of contents icon (mw-toc-button) should be marked with the mw-sticky-header-element class
- Event tracking still works on the TOC
Developer note
We should implement the TOC button with the checkbox hack so it can benefit from all the JS enhancements we use