Skip to content

Commit

Permalink
No scrolling ToC on wide pages
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Mar 11, 2021
1 parent cb51248 commit 8aa5319
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _sass/toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
overflow-y: auto;
}

.wide & {
@include breakpoint($large) {
max-height: initial;
overflow-y: initial;
}
}

&::-webkit-scrollbar {
width: 2px;
height: 2px;
Expand Down

0 comments on commit 8aa5319

Please sign in to comment.