format, update default sidepanel width
This commit is contained in:
parent
dcaf09b658
commit
a920416db2
@ -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>
|
||||
|
@ -1,6 +1,6 @@
|
||||
$pageWidth: 750px;
|
||||
$mobileBreakpoint: 600px;
|
||||
$tabletBreakpoint: 1200px;
|
||||
$sidePanelWidth: 400px;
|
||||
$sidePanelWidth: 380px;
|
||||
$topSpacing: 6rem;
|
||||
$fullPageWidth: $pageWidth + 2 * $sidePanelWidth;
|
||||
|
Loading…
Reference in New Issue
Block a user