From 08f8e3b4a4879dd7c91c16fbce80c4f2bc5e357f Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 10 Jul 2023 02:32:24 +0000
Subject: [PATCH] docs + various polish
---
quartz/components/styles/popover.scss | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/quartz/components/styles/popover.scss b/quartz/components/styles/popover.scss
index 9b79447..2bc1af1 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,17 +21,19 @@
padding: 1rem;
& > .popover-inner {
+ position: relative;
width: 30rem;
- height: 20rem;
- padding: 0 1rem 1rem 1rem;
+ max-height: 20rem;
+ padding: 0 1rem 2rem 1rem;
font-weight: initial;
- line-height: initial;
+ line-height: normal;
font-size: initial;
- border: 1px solid var(--gray);
+ font-family: var(--bodyFont);
+ border: 1px solid var(--lightgray);
background-color: var(--light);
border-radius: 5px;
box-shadow: 6px 6px 36px 0 rgba(0,0,0,0.25);
- overflow: scroll;
+ overflow: auto;
}
h1 {
@@ -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