From ec00a40aefca73596ab76e3ebe3a8e1129b43688 Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 27 Jan 2026 18:27:17 +0000
Subject: [PATCH] chore(deps): bump the production-dependencies group with 4 updates (#2289)
---
quartz/styles/callouts.scss | 35 ++++++++++++++++++++++++++---------
1 files changed, 26 insertions(+), 9 deletions(-)
diff --git a/quartz/styles/callouts.scss b/quartz/styles/callouts.scss
index 02921ae..ce4449d 100644
--- a/quartz/styles/callouts.scss
+++ b/quartz/styles/callouts.scss
@@ -11,14 +11,11 @@
& > .callout-content {
display: grid;
- transition: grid-template-rows 0.3s ease;
+ transition: grid-template-rows 0.1s cubic-bezier(0.02, 0.01, 0.47, 1);
+ overflow: hidden;
- & > .callout-content-inner {
- overflow: hidden;
-
- & > :first-child {
- margin-top: 0;
- }
+ & > :first-child {
+ margin-top: 0;
}
}
@@ -121,8 +118,28 @@
--callout-icon: var(--callout-icon-quote);
}
- &.is-collapsed > .callout-title > .fold-callout-icon {
- transform: rotateZ(-90deg);
+ &.is-collapsed {
+ & > .callout-title > .fold-callout-icon {
+ transform: rotateZ(-90deg);
+ }
+
+ .callout-content {
+ & > * {
+ transition:
+ height 0.1s cubic-bezier(0.02, 0.01, 0.47, 1),
+ margin 0.1s cubic-bezier(0.02, 0.01, 0.47, 1),
+ padding 0.1s cubic-bezier(0.02, 0.01, 0.47, 1);
+ overflow-y: clip;
+ height: 0;
+ margin-bottom: 0;
+ margin-top: 0;
+ padding-bottom: 0;
+ padding-top: 0;
+ }
+ & > :first-child {
+ margin-top: -1rem;
+ }
+ }
}
}
--
Gitblit v1.10.0