From cbae88fc4e9b98764cfccca2e85f265c4b894573 Mon Sep 17 00:00:00 2001
From: Adam Brangenberg <adambrangenberg@proton.me>
Date: Mon, 31 Jul 2023 04:08:32 +0000
Subject: [PATCH] Removing redundant properties (#356)
---
quartz/components/styles/graph.scss | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/quartz/components/styles/graph.scss b/quartz/components/styles/graph.scss
index 2200282..3deaa1f 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 {
@@ -24,7 +26,7 @@
top: 0;
right: 0;
border-radius: 4px;
- background-color: transparent;
+ background-color: transparent;
transition: background-color 0.5s ease;
cursor: pointer;
&:hover {
@@ -50,7 +52,7 @@
& > #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;
@@ -59,6 +61,10 @@
transform: translate(-50%, -50%);
height: 60vh;
width: 50vw;
+
+ @media all and (max-width: $fullPageWidth) {
+ width: 90%;
+ }
}
}
}
--
Gitblit v1.10.0