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

Make TOC items collapsible / scrollable #27

Open
schnerring opened this issue Nov 18, 2021 · 2 comments
Open

Make TOC items collapsible / scrollable #27

schnerring opened this issue Nov 18, 2021 · 2 comments

Comments

@schnerring
Copy link
Owner

Currently very large TOCs can't be fully displayed due to being "CSS sticky".

Making menu items collapsible solves this issue.

@schnerring schnerring changed the title Make TOC items collapsible Make TOC items collapsible / scrollable Nov 20, 2021
@cedricwalter
Copy link

check my solution here

it is not perfect but do not require a lot of code nor dependency beside jQuery. it is a patch on misery if the TOC can not be scroll up and down. if the page is big enough even being collapsible is not enough, see here

@schnerring
Copy link
Owner Author

Thanks for the suggestion, but I won't add the huge toolset that is jQuery to this theme. I'm sure there are easier ways to do that in 2024.

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

No branches or pull requests

2 participants