From c5d97db0003b239abaf456f4152ab3864bca4424 Mon Sep 17 00:00:00 2001
From: Aaron Pham <contact@aarnphm.xyz>
Date: Sat, 12 Oct 2024 22:33:07 +0000
Subject: [PATCH] fix(toc): invalid desktop-only styling (#1502)
---
quartz/components/styles/toc.scss | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/quartz/components/styles/toc.scss b/quartz/components/styles/toc.scss
index 512b01d..5c5f5b8 100644
--- a/quartz/components/styles/toc.scss
+++ b/quartz/components/styles/toc.scss
@@ -1,8 +1,8 @@
.toc {
display: flex;
flex-direction: column;
+
&.desktop-only {
- display: flex;
max-height: 40%;
}
}
@@ -74,6 +74,7 @@
}
> ul.overflow {
max-height: none;
+ width: 100%;
}
@for $i from 0 through 6 {
--
Gitblit v1.10.0