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/graph.scss | 23 ++++++++++++++++-------
1 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/quartz/components/styles/graph.scss b/quartz/components/styles/graph.scss
index 2200282..1b19f13 100644
--- a/quartz/components/styles/graph.scss
+++ b/quartz/components/styles/graph.scss
@@ -1,7 +1,9 @@
+@use "../../styles/variables.scss" as *;
+
.graph {
& > h3 {
font-size: 1rem;
- margin: 0
+ margin: 0;
}
& > .graph-outer {
@@ -14,17 +16,20 @@
overflow: hidden;
& > #global-graph-icon {
+ cursor: pointer;
+ background: none;
+ border: none;
color: var(--dark);
opacity: 0.5;
- width: 18px;
- height: 18px;
+ width: 24px;
+ height: 24px;
position: absolute;
padding: 0.2rem;
margin: 0.3rem;
top: 0;
right: 0;
border-radius: 4px;
- background-color: transparent;
+ background-color: transparent;
transition: background-color 0.5s ease;
cursor: pointer;
&:hover {
@@ -50,15 +55,19 @@
& > #global-graph-container {
border: 1px solid var(--lightgray);
- background-color: var(--light);
+ background-color: var(--light);
border-radius: 5px;
box-sizing: border-box;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
- height: 60vh;
- width: 50vw;
+ height: 80vh;
+ width: 80vw;
+
+ @media all and not ($desktop) {
+ width: 90%;
+ }
}
}
}
--
Gitblit v1.10.0