Enable toc sidebar scrolling ()

* Enable toc sidebar scrolling

* Refactor style rules

* Move style rules from 'navigation' to 'sidebar'

* Remove custom scrollbar styles
This commit is contained in:
Johnson
2021-07-31 03:54:49 +08:00
committed by GitHub
parent 89de4d46db
commit 0f06cb8225
2 changed files with 9 additions and 2 deletions
_sass/minimal-mistakes

@ -89,6 +89,13 @@
position: sticky;
top: 2em;
float: right;
.toc {
.toc__menu {
overflow-y: auto;
max-height: calc(100vh - 7em);
}
}
}
}