mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 11:36:23 +00:00
format, update default sidepanel width
This commit is contained in:
parent
2774e976d2
commit
8c943f47d6
2 changed files with 3 additions and 3 deletions
|
@ -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 a new issue