format, update default sidepanel width

This commit is contained in:
Jacky Zhao 2023-08-21 09:00:13 -07:00
parent 2774e976d2
commit 8c943f47d6
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -1,6 +1,6 @@
$pageWidth: 750px;
$mobileBreakpoint: 600px;
$tabletBreakpoint: 1200px;
$sidePanelWidth: 400px;
$sidePanelWidth: 380px;
$topSpacing: 6rem;
$fullPageWidth: $pageWidth + 2 * $sidePanelWidth;