From 6715079a8908e8807291415eb3dee506574b5459 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 28 Aug 2024 19:50:25 +0000
Subject: [PATCH] fix: only apply z-index on left sidebar

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

diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 02b0f53..1b3d122 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -172,7 +172,6 @@
       box-sizing: border-box;
       padding: 0 4rem;
       position: fixed;
-      z-index: 1;
       @media all and (max-width: $fullPageWidth) {
         position: initial;
         flex-direction: row;
@@ -183,6 +182,7 @@
     }
 
     & .sidebar.left {
+      z-index: 1;
       left: calc(calc(100vw - $pageWidth) / 2 - $sidePanelWidth);
       @media all and (max-width: $fullPageWidth) {
         gap: 0;

--
Gitblit v1.10.0