From bb24cd13c7fafbd42d3980c45351a58a76dabb18 Mon Sep 17 00:00:00 2001
From: 1 gal Rosemary <cerasusyedoensis@proton.me>
Date: Sat, 05 Apr 2025 17:39:28 +0000
Subject: [PATCH] fix(css): styles issues with popover, overflow, and scroll overflow (#1907)
---
quartz/components/styles/popover.scss | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/quartz/components/styles/popover.scss b/quartz/components/styles/popover.scss
index 872045a..70e1dd6 100644
--- a/quartz/components/styles/popover.scss
+++ b/quartz/components/styles/popover.scss
@@ -16,9 +16,12 @@
.popover {
z-index: 999;
- position: absolute;
+ position: fixed;
overflow: visible;
padding: 1rem;
+ left: 0;
+ top: 0;
+ will-change: transform;
& > .popover-inner {
position: relative;
@@ -35,6 +38,7 @@
border-radius: 5px;
box-shadow: 6px 6px 36px 0 rgba(0, 0, 0, 0.25);
overflow: auto;
+ overscroll-behavior: contain;
white-space: normal;
user-select: none;
cursor: default;
@@ -77,7 +81,7 @@
}
}
-a:hover .popover,
+.active-popover,
.popover:hover {
animation: dropin 0.3s ease;
animation-fill-mode: forwards;
--
Gitblit v1.10.0