From 0ee103a514003e0977c0ae40169a35eb265d4797 Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 12 Aug 2024 20:38:15 +0000
Subject: [PATCH] chore(deps): bump shiki from 1.10.3 to 1.12.1 (#1344)
---
quartz/components/styles/toc.scss | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/quartz/components/styles/toc.scss b/quartz/components/styles/toc.scss
index 27ff62a..6845812 100644
--- a/quartz/components/styles/toc.scss
+++ b/quartz/components/styles/toc.scss
@@ -29,8 +29,18 @@
list-style: none;
overflow: hidden;
max-height: none;
- transition: max-height 0.5s ease;
+ transition:
+ max-height 0.5s ease,
+ visibility 0s linear 0s;
position: relative;
+ visibility: visible;
+
+ &.collapsed {
+ transition:
+ max-height 0.5s ease,
+ visibility 0s linear 0.5s;
+ visibility: hidden;
+ }
&.collapsed > .overflow::after {
opacity: 0;
--
Gitblit v1.10.0