mediawiki-skins-Vector/stories
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 Define documentable types in eslintrc instead of inline 2021-10-18 18:08:32 +00:00
ButtonsAndIcons.stories.js [storybook] ButtonAndIcons should use Button template 2021-09-08 19:32:31 +00:00
Footer.stories.data.js Language button is quiet with focus, active and hover states 2021-03-01 20:01:45 +00:00
Footer.stories.js Storybook: Consistent styling 2021-05-27 19:27:21 +00:00
Header.stories.data.js [Storybook] Add Header component 2021-09-14 18:33:10 +00:00
Header.stories.js [Storybook] Add Header component 2021-09-14 18:33:10 +00:00
LanguageButton.stories.data.js Move Vector menu class logic into Menu mustache template 2022-04-18 15:18:53 -05:00
LanguageButton.stories.js [storybook] Document button usage and update broken stories 2021-09-07 21:23:33 +00:00
legacy.stories.js Storybook should include UserLinks 2021-05-27 19:27:27 +00:00
Logo.stories.data.js Define documentable types in eslintrc instead of inline 2021-10-18 18:08:32 +00:00
Logo.stories.js [modern] A new version of Vector with a new logo 2020-04-30 14:11:54 -07:00
Menu.stories.data.js Define documentable types in eslintrc instead of inline 2021-10-18 18:08:32 +00:00
Menu.stories.js Storybook should include UserLinks 2021-05-27 19:27:27 +00:00
MenuDropdown.stories.data.js Define documentable types in eslintrc instead of inline 2021-10-18 18:08:32 +00:00
MenuDropdown.stories.js Storybook: Consistent styling 2021-05-27 19:27:21 +00:00
MenuPortal.stories.data.js Merge "Update Abkhaz language name" 2022-01-04 17:01:02 +00:00
MenuPortal.stories.js Refactor: Portal is also a Menu 2020-05-07 16:56:59 -07:00
MenuTabs.stories.data.js Define documentable types in eslintrc instead of inline 2021-10-18 18:08:32 +00:00
MenuTabs.stories.js Storybook: Consistent styling 2021-05-27 19:27:21 +00:00
rawLoader.d.ts [Storybook] Fix PNG/SVG asset resolution. 2020-09-25 12:52:05 +02:00
SearchBox.stories.data.js Define documentable types in eslintrc instead of inline 2021-10-18 18:08:32 +00:00
SearchBox.stories.js Allow multiple search components on the same page 2021-09-23 23:23:58 +00:00
Sidebar.stories.data.js Simplify menu code 2021-01-04 19:02:34 +00:00
Sidebar.stories.js Storybook: Consistent styling 2021-05-27 19:27:21 +00:00
skin.stories.data.js Vector uses html-title-heading 2021-12-15 22:27:48 +00:00
StickyHeader.stories.data.js Simplify TOC spacing styles/logic by reusing the visible sticky header class 2022-05-10 11:39:05 -05:00
StickyHeader.stories.js Build the sticky header skeleton 2021-09-01 12:32:31 -07:00
types.js Revert "build: Update eslint-config-wikimedia to 0.22.1" 2022-03-16 23:40:42 +00:00
UserLinks.stories.data.js Move Vector menu class logic into Menu mustache template 2022-04-18 15:18:53 -05:00
UserLinks.stories.js [Storybook] Add Header component 2021-09-14 18:33:10 +00:00
utils.js Define documentable types in eslintrc instead of inline 2021-10-18 18:08:32 +00:00