From 7d4bed64a98e0ef982b98e9b755fead7c06855c5 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sat, 28 Dec 2024 23:17:58 +0000
Subject: [PATCH] fix(css): allow proper width on code block title (closes #1683)
---
quartz/components/styles/toc.scss | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/quartz/components/styles/toc.scss b/quartz/components/styles/toc.scss
index 5c5f5b8..4988cd8 100644
--- a/quartz/components/styles/toc.scss
+++ b/quartz/components/styles/toc.scss
@@ -1,3 +1,5 @@
+@use "../../styles/variables.scss" as *;
+
.toc {
display: flex;
flex-direction: column;
@@ -7,6 +9,12 @@
}
}
+@media all and not ($mobile) {
+ .toc {
+ display: flex;
+ }
+}
+
button#toc {
background-color: transparent;
border: none;
--
Gitblit v1.10.0