From 8c943f47d6ddedc5da4b9447fec173a16d91758c Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Mon, 21 Aug 2023 09:00:13 -0700 Subject: [PATCH] format, update default sidepanel width --- quartz/components/Graph.tsx | 4 ++-- quartz/styles/variables.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/quartz/components/Graph.tsx b/quartz/components/Graph.tsx index 0c54bdb47..e159aa541 100644 --- a/quartz/components/Graph.tsx +++ b/quartz/components/Graph.tsx @@ -47,8 +47,8 @@ const defaultOptions: GraphOptions = { export default ((opts?: GraphOptions) => { function Graph() { - const localGraph = { ...defaultOptions.localGraph, ...opts?.localGraph, } - const globalGraph = { ...defaultOptions.globalGraph, ...opts?.globalGraph, } + const localGraph = { ...defaultOptions.localGraph, ...opts?.localGraph } + const globalGraph = { ...defaultOptions.globalGraph, ...opts?.globalGraph } return (

Graph View

diff --git a/quartz/styles/variables.scss b/quartz/styles/variables.scss index f0505e4df..30004aa7b 100644 --- a/quartz/styles/variables.scss +++ b/quartz/styles/variables.scss @@ -1,6 +1,6 @@ $pageWidth: 750px; $mobileBreakpoint: 600px; $tabletBreakpoint: 1200px; -$sidePanelWidth: 400px; +$sidePanelWidth: 380px; $topSpacing: 6rem; $fullPageWidth: $pageWidth + 2 * $sidePanelWidth;