fix: toc width on mobile

This commit is contained in:
ZhenShuo Leo committed 2025-07-10 09:23:18 +08:00
1 parent 1f49f8f89f
commit 5ebd4ef0dd
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -3370,7 +3370,9 @@ button, [role="button"] {
margin-top: calc(var(--spacing) * 3);
}
#TableOfContents {
max-width: 25vw;
@media (width >= 1024px) {
max-width: 25vw;
}
}
#TOCView {
max-height: calc(100vh - 150px);