From ef72f1bf707dca363cdab84da91e2acfaef8f276 Mon Sep 17 00:00:00 2001
From: Ammar Alakkad <am.alakkad@gmail.com>
Date: Mon, 30 Dec 2024 16:03:57 +0000
Subject: [PATCH] Fix ObsidianFlavoredMarkdown source link (#1694)
---
quartz/components/styles/explorer.scss | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/quartz/components/styles/explorer.scss b/quartz/components/styles/explorer.scss
index 710d7a5..397fd02 100644
--- a/quartz/components/styles/explorer.scss
+++ b/quartz/components/styles/explorer.scss
@@ -1,10 +1,15 @@
@use "../../styles/variables.scss" as *;
.explorer {
+ display: flex;
+ flex-direction: column;
+ overflow-y: hidden;
&.desktop-only {
- overflow-y: auto;
+ @media all and not ($mobile) {
+ display: flex;
+ }
}
- &:after {
+ /*&:after {
pointer-events: none;
content: "";
width: 100%;
@@ -15,7 +20,7 @@
opacity: 1;
transition: opacity 0.3s ease;
background: linear-gradient(transparent 0px, var(--light));
- }
+ }*/
}
button#explorer {
@@ -62,7 +67,8 @@
#explorer-content {
list-style: none;
overflow: hidden;
- max-height: none;
+ overflow-y: auto;
+ max-height: 100%;
transition:
max-height 0.35s ease,
visibility 0s linear 0s;
@@ -70,6 +76,7 @@
visibility: visible;
&.collapsed {
+ max-height: 0;
transition:
max-height 0.35s ease,
visibility 0s linear 0.35s;
--
Gitblit v1.10.0