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/base.scss | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 25de448..022e9b5 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -65,6 +65,14 @@
}
}
+article > mjx-container.MathJax {
+ display: flex;
+ > svg {
+ margin-left: auto;
+ margin-right: auto;
+ }
+}
+
strong {
font-weight: $semiBoldWeight;
}
@@ -548,6 +556,7 @@
div:has(> .overflow) {
display: flex;
max-height: 100%;
+ overflow-y: hidden;
}
ul.overflow,
--
Gitblit v1.10.0