Merge pull request #2110 from ZhenShuo2021/fix/toc

 Improved Table of Contents Display
This commit is contained in:
Nuno Coração
2025-05-27 00:04:31 +01:00
committed by GitHub
3 changed files with 22 additions and 31 deletions

View File

@@ -59,6 +59,16 @@ body button {
}
/* Table of Contents */
#TableOfContents {
max-width: 25vw;
}
#TOCView {
max-height: calc(100vh - 150px);
min-height: 0;
overflow-x: hidden;
}
.toc ul,
.toc li {
@apply px-0 leading-snug list-none;