From aa24a62ae77ed1bd3edd4b617cd76d7a056c7f1c Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sat, 17 Feb 2024 19:12:35 +0000
Subject: [PATCH] fix(breadcrumbs): calculate trailing slash for tag hierarchies (closes #873)
---
quartz/components/styles/popover.scss | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/quartz/components/styles/popover.scss b/quartz/components/styles/popover.scss
index 55d38c9..141b89d 100644
--- a/quartz/components/styles/popover.scss
+++ b/quartz/components/styles/popover.scss
@@ -26,6 +26,7 @@
max-height: 20rem;
padding: 0 1rem 1rem 1rem;
font-weight: initial;
+ font-style: initial;
line-height: normal;
font-size: initial;
font-family: var(--bodyFont);
@@ -37,13 +38,26 @@
white-space: normal;
}
+ & > .popover-inner[data-content-type="image"] {
+ padding: 0;
+ max-height: 100%;
+
+ img {
+ margin: 0;
+ border-radius: 0;
+ display: block;
+ }
+ }
+
h1 {
font-size: 1.5rem;
}
visibility: hidden;
opacity: 0;
- transition: opacity 0.3s ease, visibility 0.3s ease;
+ transition:
+ opacity 0.3s ease,
+ visibility 0.3s ease;
@media all and (max-width: $mobileBreakpoint) {
display: none !important;
--
Gitblit v1.10.0