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

Allow scrolling in long TOC #71

Open
peterdesmet opened this issue Dec 6, 2022 · 2 comments
Open

Allow scrolling in long TOC #71

peterdesmet opened this issue Dec 6, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@peterdesmet
Copy link
Owner

peterdesmet commented Dec 6, 2022

Cf. https://www.tdwg.org/conferences/2022/session-list/ and https://aloftdata.eu/radars/

@peterdesmet peterdesmet added the enhancement New feature or request label Dec 6, 2022
@peterdesmet peterdesmet self-assigned this Dec 6, 2022
@peterdesmet
Copy link
Owner Author

peterdesmet commented Apr 20, 2023

This should be possible by adding max-height: 100vh; and overflow-y: auto; (already there) to the toc element

overflow-y: auto;

See https://stackoverflow.com/questions/66876410/how-to-make-sticky-element-scrollable. Ideally this does not add a scrollbar where not necessary.

@peterdesmet
Copy link
Owner Author

This should be disabled on small screens.

@peterdesmet peterdesmet reopened this Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant