From e1d754ef79e8c04d6fe0f9031ce74baf48d3bb10 Mon Sep 17 00:00:00 2001
From: plyght <nico.c.jaffer@gmail.com>
Date: Fri, 22 Nov 2024 19:44:40 +0000
Subject: [PATCH] Update showcase.md (#1611)
---
quartz/components/styles/toc.scss | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/quartz/components/styles/toc.scss b/quartz/components/styles/toc.scss
index 3b2b6b3..4988cd8 100644
--- a/quartz/components/styles/toc.scss
+++ b/quartz/components/styles/toc.scss
@@ -1,12 +1,20 @@
+@use "../../styles/variables.scss" as *;
+
.toc {
display: flex;
flex-direction: column;
+
&.desktop-only {
- display: flex;
max-height: 40%;
}
}
+@media all and not ($mobile) {
+ .toc {
+ display: flex;
+ }
+}
+
button#toc {
background-color: transparent;
border: none;
--
Gitblit v1.10.0