From 497d51973ae2a986373decbfeb7a1afe229e5fd6 Mon Sep 17 00:00:00 2001
From: Aaron Pham <contact@aarnphm.xyz>
Date: Mon, 07 Oct 2024 06:52:14 +0000
Subject: [PATCH] chore(ci): remove signing and vuln (#1484)
---
quartz/components/styles/toc.scss | 23 +++++++++++++++++++----
1 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/quartz/components/styles/toc.scss b/quartz/components/styles/toc.scss
index 6845812..3b2b6b3 100644
--- a/quartz/components/styles/toc.scss
+++ b/quartz/components/styles/toc.scss
@@ -1,3 +1,12 @@
+.toc {
+ display: flex;
+ flex-direction: column;
+ &.desktop-only {
+ display: flex;
+ max-height: 40%;
+ }
+}
+
button#toc {
background-color: transparent;
border: none;
@@ -28,17 +37,19 @@
#toc-content {
list-style: none;
overflow: hidden;
- max-height: none;
+ overflow-y: auto;
+ max-height: 100%;
transition:
- max-height 0.5s ease,
+ max-height 0.35s ease,
visibility 0s linear 0s;
position: relative;
visibility: visible;
&.collapsed {
+ max-height: 0;
transition:
- max-height 0.5s ease,
- visibility 0s linear 0.5s;
+ max-height 0.35s ease,
+ visibility 0s linear 0.35s;
visibility: hidden;
}
@@ -61,6 +72,10 @@
}
}
}
+ > ul.overflow {
+ max-height: none;
+ width: 100%;
+ }
@for $i from 0 through 6 {
& .depth-#{$i} {
--
Gitblit v1.10.0