From 6dab2b9f3f6f984a8ca7beb6c6e478e8ebe20a4b Mon Sep 17 00:00:00 2001 From: saberzero1 Date: Wed, 25 Sep 2024 14:30:48 +0200 Subject: [PATCH] fix: Table of Content overflow (https://github.com/jackyzha0/quartz/issues/1437) --- quartz/components/styles/toc.scss | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/quartz/components/styles/toc.scss b/quartz/components/styles/toc.scss index 9de73e2da..dfbebbc34 100644 --- a/quartz/components/styles/toc.scss +++ b/quartz/components/styles/toc.scss @@ -1,8 +1,5 @@ -.toc { - overflow-y: auto; - &.desktop-only { - max-height: 40%; - } +.toc.desktop-only { + max-height: 40%; } button#toc {