From 1e8fe2cd08408b24beb778b0b057f9d0dd0b311b Mon Sep 17 00:00:00 2001 From: saberzero1 Date: Wed, 25 Sep 2024 15:54:36 +0200 Subject: [PATCH] Address feedback --- quartz/components/styles/explorer.scss | 7 +++++-- quartz/components/styles/toc.scss | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/quartz/components/styles/explorer.scss b/quartz/components/styles/explorer.scss index 8d4fdb1b4..0d952fd1f 100644 --- a/quartz/components/styles/explorer.scss +++ b/quartz/components/styles/explorer.scss @@ -1,8 +1,11 @@ @use "../../styles/variables.scss" as *; .explorer { + display: flex; + flex-direction: column; + overflow-y: hidden; &.desktop-only { - overflow-y: hidden; + display: flex; } &:after { pointer-events: none; @@ -63,7 +66,7 @@ button#explorer { list-style: none; overflow: hidden; overflow-y: auto; - max-height: calc(100% - 28px); + max-height: 100%; transition: max-height 0.35s ease, visibility 0s linear 0s; diff --git a/quartz/components/styles/toc.scss b/quartz/components/styles/toc.scss index dfbebbc34..87af972ef 100644 --- a/quartz/components/styles/toc.scss +++ b/quartz/components/styles/toc.scss @@ -1,4 +1,4 @@ -.toc.desktop-only { +.toc { max-height: 40%; }