From 148b73339800a938c8fa94a9410e053c1def0dd2 Mon Sep 17 00:00:00 2001 From: tuscan-blue Date: Fri, 4 Apr 2025 21:15:03 +0800 Subject: [PATCH] fix(style): fix toc overflow & scrolling overflow --- quartz/components/styles/toc.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quartz/components/styles/toc.scss b/quartz/components/styles/toc.scss index d544d0e99..bf1bc223d 100644 --- a/quartz/components/styles/toc.scss +++ b/quartz/components/styles/toc.scss @@ -50,6 +50,8 @@ ul.toc-content { position: relative; margin: 0.5rem 0; padding: 0; + height: 5rem; + overscroll-behavior: contain; list-style: none; & > li > a {