From 2a17431460770b3375b455815f503781f7448c20 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 05 Jul 2023 00:14:15 +0000
Subject: [PATCH] fix popover zindex

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

diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 4d1145d..d0faa7f 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -89,15 +89,8 @@
       flex-direction: column;
     }
 
-    & .left, & .right {
+    & .sidebar {
       flex: 1;
-      width: calc(calc(100vw - $pageWidth) / 2);
-      @media all and (max-width: $fullPageWidth) {
-        width: initial;
-      }
-    }
-
-    & .left-inner, & .right-inner {
       display: flex;
       flex-direction: column;
       gap: 2rem;
@@ -116,7 +109,7 @@
       }
     }
 
-    & .left-inner {
+    & .sidebar.left {
       left: calc(calc(100vw - $pageWidth) / 2 - $sidePanelWidth);
       @media all and (max-width: $fullPageWidth) {
         gap: 1rem;
@@ -124,7 +117,7 @@
       }
     }
 
-    & .right-inner {
+    & .sidebar.right {
       right: calc(calc(100vw - $pageWidth) / 2 - $sidePanelWidth);
       & > * {
         @media all and (max-width: $fullPageWidth) {

--
Gitblit v1.10.0