From a21f588c4834168386bf0461df14bf7164b53fb9 Mon Sep 17 00:00:00 2001
From: Stephen Tse <Stephen-X@users.noreply.github.com>
Date: Mon, 31 Mar 2025 00:39:08 +0000
Subject: [PATCH] fix(toc): element can't fully collapse
---
quartz/styles/callouts.scss | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/quartz/styles/callouts.scss b/quartz/styles/callouts.scss
index b1fd180..d6f65aa 100644
--- a/quartz/styles/callouts.scss
+++ b/quartz/styles/callouts.scss
@@ -10,7 +10,7 @@
transition: max-height 0.3s ease;
box-sizing: border-box;
- & > *:nth-child(2) {
+ & > .callout-content > :first-child {
margin-top: 0;
}
--
Gitblit v1.10.0