From eb9bbd1666345e011da410ff7af67ede9fd00f47 Mon Sep 17 00:00:00 2001
From: bfahrenfort <59982409+bfahrenfort@users.noreply.github.com>
Date: Sat, 14 Sep 2024 17:10:01 +0000
Subject: [PATCH] fix: constrain link icon size (#1409)

---
 quartz/styles/base.scss |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 8e791db..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;
@@ -541,3 +542,11 @@
   overflow-x: auto;
   overflow-y: hidden;
 }
+
+.external-embed.youtube,
+iframe.pdf {
+  aspect-ratio: 16 / 9;
+  height: 100%;
+  width: 100%;
+  border-radius: 5px;
+}

--
Gitblit v1.10.0