better graph height
parent
b6a44d6d81
commit
05e6e6d916
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue