Add scrolling over TOC

pull/733/head
Denis Koshelev 2023-12-03 17:28:23 -05:00
parent dbf421848f
commit da0ea762d0
2 changed files with 12 additions and 0 deletions

View File

@ -1131,6 +1131,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;

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;