From da1b6b37fe2ee09359b532f0d2669975b4476c95 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 14 Mar 2025 17:05:26 +0000
Subject: [PATCH] fix(explorer): fix incorrect recursive case for folder rendering
---
quartz/components/styles/toc.scss | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/quartz/components/styles/toc.scss b/quartz/components/styles/toc.scss
index d1feca6..bc0c749 100644
--- a/quartz/components/styles/toc.scss
+++ b/quartz/components/styles/toc.scss
@@ -5,19 +5,20 @@
flex-direction: column;
overflow-y: hidden;
+ min-height: 4rem;
flex: 0 1 auto;
- &:has(button#toc.collapsed) {
+ &:has(button.toc-header.collapsed) {
flex: 0 1 1.2rem;
}
}
@media all and not ($mobile) {
- .toc {
+ .toc-header {
display: flex;
}
}
-button#toc {
+button.toc-header {
background-color: transparent;
border: none;
text-align: left;
@@ -44,7 +45,7 @@
}
}
-#toc-content {
+.toc-content {
list-style: none;
position: relative;
--
Gitblit v1.10.0