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

fix(toc): display scroll bar only if the content is overflowing #1185

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

Den-dp
Copy link
Contributor

@Den-dp Den-dp commented Jul 6, 2024

The table-of-content component shows a scrollbar on Windows even if the content fits:
image

This fix enables auto mode to display scroll bar only if the content is overflowing:
image
image

@wraithgar wraithgar merged commit 653c3cb into npm:main Jul 8, 2024
8 of 9 checks passed
@Den-dp Den-dp deleted the fix/nicer-toc branch July 8, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants