From fa2ea2896f0977253733334199d28e509351e621 Mon Sep 17 00:00:00 2001
From: Silviu LorenČ› <124451350+smilorent@users.noreply.github.com>
Date: Sat, 17 Feb 2024 18:23:45 +0000
Subject: [PATCH] feat: add user-defined config for syntax highlighting plugin (#869)
---
quartz/components/styles/popover.scss | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/quartz/components/styles/popover.scss b/quartz/components/styles/popover.scss
index 21e6b72..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);
@@ -34,6 +35,18 @@
border-radius: 5px;
box-shadow: 6px 6px 36px 0 rgba(0, 0, 0, 0.25);
overflow: auto;
+ white-space: normal;
+ }
+
+ & > .popover-inner[data-content-type="image"] {
+ padding: 0;
+ max-height: 100%;
+
+ img {
+ margin: 0;
+ border-radius: 0;
+ display: block;
+ }
}
h1 {
--
Gitblit v1.10.0