Skip to content

Commit

Permalink
Add scroll for TOC
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcss committed Oct 17, 2024
1 parent b330fb2 commit bb4d00a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/theme/TOC/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.tableOfContents {

@media (min-width: 997px) {
max-height: 40svh;
overflow: auto;
}
}

@media (max-width: 996px) {
Expand Down

0 comments on commit bb4d00a

Please sign in to comment.