From 9cefcd0dd1a503c727c8bbb2deb1b631329b3a42 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 20 Sep 2024 22:48:14 +0000
Subject: [PATCH] Revert "perf: eagerly compute explorer nodes to avoid re-render in memoized value"
---
quartz/components/styles/graph.scss | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/quartz/components/styles/graph.scss b/quartz/components/styles/graph.scss
index 3deaa1f..188907d 100644
--- a/quartz/components/styles/graph.scss
+++ b/quartz/components/styles/graph.scss
@@ -16,10 +16,13 @@
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;
@@ -59,8 +62,8 @@
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
- height: 60vh;
- width: 50vw;
+ height: 80vh;
+ width: 80vw;
@media all and (max-width: $fullPageWidth) {
width: 90%;
--
Gitblit v1.10.0