From c4cd84dcc884469a0d84e2bec239b2fc3596c44f Mon Sep 17 00:00:00 2001
From: Andrew <80933354+ndrooo@users.noreply.github.com>
Date: Sat, 24 Aug 2024 17:13:55 +0000
Subject: [PATCH] fix: Add a wrapper element to dates in PageList. (#1345)
---
quartz/components/styles/explorer.scss | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/quartz/components/styles/explorer.scss b/quartz/components/styles/explorer.scss
index 55ea8aa..2f94b15 100644
--- a/quartz/components/styles/explorer.scss
+++ b/quartz/components/styles/explorer.scss
@@ -1,7 +1,6 @@
@use "../../styles/variables.scss" as *;
button#explorer {
- all: unset;
background-color: transparent;
border: none;
text-align: left;
@@ -11,7 +10,7 @@
display: flex;
align-items: center;
- & h1 {
+ & h2 {
font-size: 1rem;
display: inline-block;
margin: 0;
@@ -46,8 +45,18 @@
list-style: none;
overflow: hidden;
max-height: none;
- transition: max-height 0.35s ease;
+ transition:
+ max-height 0.35s ease,
+ visibility 0s linear 0s;
margin-top: 0.5rem;
+ visibility: visible;
+
+ &.collapsed {
+ transition:
+ max-height 0.35s ease,
+ visibility 0s linear 0.35s;
+ visibility: hidden;
+ }
&.collapsed > .overflow::after {
opacity: 0;
--
Gitblit v1.10.0