From 1609ce5d02aacf4e7abbe486d61be2fe32dea67c Mon Sep 17 00:00:00 2001 From: keonly <70371393+keonly@users.noreply.github.com> Date: Thu, 10 Oct 2024 21:17:42 +0900 Subject: [PATCH] fix(layout): properly apply desktop-only to toc component --- quartz/components/styles/toc.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/quartz/components/styles/toc.scss b/quartz/components/styles/toc.scss index 3b2b6b32a..8d865fb36 100644 --- a/quartz/components/styles/toc.scss +++ b/quartz/components/styles/toc.scss @@ -1,9 +1,13 @@ +@use "../../styles/variables.scss" as *; + .toc { display: flex; flex-direction: column; &.desktop-only { - display: flex; - max-height: 40%; + @media all and not ($mobile) { + display: flex; + max-height: 40%; + } } }