summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2024-12-19 17:20:04 +0800
committerEltrac <hi@guhub.cn>2024-12-19 17:20:04 +0800
commit59ae7f9d7651fe475df8a29ad74adb1aceb5a302 (patch)
tree408af0783d909654d0bf0301c6c218bcaa850782 /assets
parentf2df3601d8298f127e0777f5644753a5d1cca158 (diff)
fix: can't see full list when there are too many headings
Diffstat (limited to 'assets')
-rw-r--r--assets/css/index.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/css/index.css b/assets/css/index.css
index d6fe8261..c1eac69e 100644
--- a/assets/css/index.css
+++ b/assets/css/index.css
@@ -702,6 +702,11 @@ a.blog-link img {
position: relative;
}
+#toc .toc-list .toc-list {
+ max-height: 25rem;
+ overflow-y: auto
+}
+
#toc .toc-list.is-collapsed {
max-height: 0
}