🔀 Merge pull request #733 from kshpdr/dev

Add scrolling over TOC
pull/738/merge
James Panther 2023-12-23 14:16:16 +11:00 committed by GitHub
commit 2001d17a55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -1137,6 +1137,12 @@ body:has(#menu-controller:checked) {
/* Table of Contents */ /* Table of Contents */
.toc {
max-height: 100vh;
overflow-y: auto;
padding-bottom: 50px;
}
.toc ul, .toc ul,
.toc li { .toc li {
list-style-type: none; list-style-type: none;

View File

@ -59,6 +59,12 @@ body:has(#menu-controller:checked) {
} }
/* Table of Contents */ /* Table of Contents */
.toc {
max-height: 100vh;
overflow-y: auto;
padding-bottom: 50px;
}
.toc ul, .toc ul,
.toc li { .toc li {
@apply list-none px-0 leading-snug; @apply list-none px-0 leading-snug;