From ab9da02c60c962128820e6874e6f07c98bc3dda7 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 04 Jul 2023 17:08:32 +0000
Subject: [PATCH] fix indexing causing main thread freeze, various polish
---
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 9b79447..05c6dc7 100644
--- a/quartz/components/styles/popover.scss
+++ b/quartz/components/styles/popover.scss
@@ -1,3 +1,5 @@
+@use "../../styles/variables.scss" as *;
+
@keyframes dropin {
0% {
opacity: 0;
@@ -19,12 +21,14 @@
padding: 1rem;
& > .popover-inner {
+ position: relative;
width: 30rem;
height: 20rem;
padding: 0 1rem 1rem 1rem;
font-weight: initial;
- line-height: initial;
+ line-height: normal;
font-size: initial;
+ font-family: var(--bodyFont);
border: 1px solid var(--gray);
background-color: var(--light);
border-radius: 5px;
@@ -40,7 +44,7 @@
opacity: 0;
transition: opacity 0.3s ease, visibility 0.3s ease;
- @media all and (max-width: 600px) {
+ @media all and (max-width: $mobileBreakpoint) {
display: none !important;
}
}
--
Gitblit v1.10.0