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 | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/quartz/components/styles/popover.scss b/quartz/components/styles/popover.scss
index 0006292..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,10 +21,14 @@
padding: 1rem;
& > .popover-inner {
+ position: relative;
width: 30rem;
height: 20rem;
padding: 0 1rem 1rem 1rem;
font-weight: initial;
+ line-height: normal;
+ font-size: initial;
+ font-family: var(--bodyFont);
border: 1px solid var(--gray);
background-color: var(--light);
border-radius: 5px;
@@ -30,11 +36,15 @@
overflow: scroll;
}
+ h1 {
+ font-size: 1.5rem;
+ }
+
visibility: hidden;
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