From 9cefcd0dd1a503c727c8bbb2deb1b631329b3a42 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 20 Sep 2024 22:48:14 +0000
Subject: [PATCH] Revert "perf: eagerly compute explorer nodes to avoid re-render in memoized value"
---
quartz/styles/base.scss | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 79b05cd..1b3d122 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -182,6 +182,7 @@
}
& .sidebar.left {
+ z-index: 1;
left: calc(calc(100vw - $pageWidth) / 2 - $sidePanelWidth);
@media all and (max-width: $fullPageWidth) {
gap: 0;
@@ -542,7 +543,8 @@
overflow-y: hidden;
}
-.external-embed.youtube {
+.external-embed.youtube,
+iframe.pdf {
aspect-ratio: 16 / 9;
height: 100%;
width: 100%;
--
Gitblit v1.10.0