🔀 Merge pull request #733 from kshpdr/dev

Add scrolling over TOC
This commit is contained in:
James Panther
2023-12-23 14:16:16 +11:00
committed by GitHub
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -1137,6 +1137,12 @@ body:has(#menu-controller:checked) {
/* Table of Contents */
.toc {
max-height: 100vh;
overflow-y: auto;
padding-bottom: 50px;
}
.toc ul,
.toc li {
list-style-type: none;
+6
View File
@@ -59,6 +59,12 @@ body:has(#menu-controller:checked) {
}
/* Table of Contents */
.toc {
max-height: 100vh;
overflow-y: auto;
padding-bottom: 50px;
}
.toc ul,
.toc li {
@apply list-none px-0 leading-snug;