Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapse H2 headings in TOC component #415

Merged
merged 7 commits into from
Jan 24, 2024
Merged

Collapse H2 headings in TOC component #415

merged 7 commits into from
Jan 24, 2024

Conversation

malberts
Copy link
Contributor

@malberts malberts commented Jan 24, 2024

Refs #390

This collapses the H2 headings in the TOC component and adds collapse/expand buttons similar to the TOC in the Vector 2022 skin:

toc-css.mp4

TODOs:

  • Documentation follow-up
  • Tests (since this is based on regexing the TOC HTML)]
  • Code can likely do with some cleanup

This PR should be squashed.

@malberts malberts merged commit 98334bd into master Jan 24, 2024
4 checks passed
@malberts malberts deleted the toc-collapsible branch January 24, 2024 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant