mirror of https://github.com/status-im/fathom.git
increase left-margin of chart to allow for larger numbers on y-axis
This commit is contained in:
parent
f1b2ba1775
commit
813eb460a3
|
@ -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…
Reference in New Issue