From 05e6e6d91683f258759beec6599b8110753497f6 Mon Sep 17 00:00:00 2001 From: Joost Wooning Date: Tue, 15 Mar 2022 17:24:26 +0100 Subject: [PATCH] better graph height --- src/components/CanGraph.js | 2 +- src/components/Explorer/explorer.scss | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/CanGraph.js b/src/components/CanGraph.js index 29a8fd1..fb6124e 100644 --- a/src/components/CanGraph.js +++ b/src/components/CanGraph.js @@ -139,7 +139,7 @@ export default class CanGraph extends Component { updateBounds = debounce(() => { this.view.signal('width', this.state.bounds.width - 90); - this.view.signal('height', 0.4 * (this.state.bounds.width - 90)); // 5:2 aspect ratio + this.view.signal('height', 0.4 * (this.state.bounds.width - 40)); // 5:2 aspect ratio this.view.run(); }, 100); diff --git a/src/components/Explorer/explorer.scss b/src/components/Explorer/explorer.scss index 3f6fe8e..979009e 100644 --- a/src/components/Explorer/explorer.scss +++ b/src/components/Explorer/explorer.scss @@ -258,7 +258,6 @@ &-plot { $drag-anchor-width: 25px; $toggle-width: 80px; - min-height: 233px; &-inner { background: #fff; border-bottom: 1px solid $color-grey-30;