Vector-Local/resources/skins.vector.es6
bwang 91e2e55a10 Simplify TOC spacing styles/logic by reusing the visible sticky header class
- Remove the 'vector-scrolled-below-table-of-contents' class, reducing the number of classes added with JS and simplifying the scrollObserver logic
- Move the 'vector-sticky-header-visible' class from the sticky header element to the body element. Hopefully, this is where other feature specific classes can go in the future
- This approach means the TOC will not need JS to update it's spacing when the sticky header is not enabled

Bug: T307345
Change-Id: I1084defc7025f5c946e22a36d373224fae6f8bd6
2022-05-10 11:39:05 -05:00
..
.eslintrc.json Limit WVUI search to ES6 browsers 2022-02-09 22:10:11 +00:00
AB.js Update @wikimedia/types-wikimedia to latest version 2022-03-28 23:33:50 +00:00
config.json Make beginning bold on scroll 2022-03-25 01:13:42 +00:00
deferUntilFrame.js Fix TOC section activation on link click bug 2022-02-08 14:45:16 -07:00
linkHijack.js Build A/B test bucketing infrastructure for the table of contents. 2022-04-04 17:06:29 -06:00
main.js Simplify TOC spacing styles/logic by reusing the visible sticky header class 2022-05-10 11:39:05 -05:00
scrollObserver.js Factor out a separate scroll observer for the TOC A/B test, which should be fired separately from the page title observer used by the sticky header and TOC 2022-05-09 20:44:54 +00:00
searchToggle.js [eslint] Disable mediawiki/class-doc 2022-02-11 16:31:33 +00:00
sectionObserver.js Merge "Use TOC template data for showing collapsible section arrows" 2022-02-22 22:16:18 +00:00
stickyHeader.js Simplify TOC spacing styles/logic by reusing the visible sticky header class 2022-05-10 11:39:05 -05:00
tableOfContents.js [TOC] Remove pointer-events:none on .sidebar-toc-link 2022-05-02 19:48:30 +00:00