mirror of
https://github.com/status-im/fathom.git
synced 2025-03-01 11:30:28 +00:00
increase left-margin of chart to allow for larger numbers on y-axis
This commit is contained in:
parent
f1b2ba1775
commit
813eb460a3
2
assets/js/components/Chart.js
vendored
2
assets/js/components/Chart.js
vendored
@ -69,7 +69,7 @@ class Chart extends Component {
|
||||
return;
|
||||
}
|
||||
|
||||
let padding = { top: 24, right: 12, bottom: 64, left: 24 };
|
||||
let padding = { top: 24, right: 12, bottom: 64, left: 40 };
|
||||
let height = Math.max( this.base.clientHeight, 240 );
|
||||
let width = this.base.clientWidth;
|
||||
let innerWidth = width - padding.left - padding.right;
|
||||
|
Loading…
x
Reference in New Issue
Block a user