Skip to content

Commit

Permalink
format, update default sidepanel width
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Aug 21, 2023
1 parent 2774e97 commit 8c943f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions quartz/components/Graph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div class="graph">
<h3>Graph View</h3>
Expand Down
2 changes: 1 addition & 1 deletion quartz/styles/variables.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$pageWidth: 750px;
$mobileBreakpoint: 600px;
$tabletBreakpoint: 1200px;
$sidePanelWidth: 400px;
$sidePanelWidth: 380px;
$topSpacing: 6rem;
$fullPageWidth: $pageWidth + 2 * $sidePanelWidth;

0 comments on commit 8c943f4

Please sign in to comment.