From 59ae7f9d7651fe475df8a29ad74adb1aceb5a302 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Thu, 19 Dec 2024 17:20:04 +0800 Subject: fix: can't see full list when there are too many headings --- assets/css/index.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'assets/css') 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 } -- cgit v1.2.3