Graphs now fit together nicely
uniform margins, lines up with page gutterspull/10616/head
parent
bdf91df503
commit
ca86930ae3
|
@ -99,8 +99,9 @@ export const LayoutRenderer = React.createClass({
|
|||
},
|
||||
|
||||
render() {
|
||||
const layoutMargin = 4;
|
||||
return (
|
||||
<GridLayout layout={this.state.layout} isDraggable={false} isResizable={false} cols={12} rowHeight={90} width={1200}>
|
||||
<GridLayout layout={this.state.layout} isDraggable={false} isResizable={false} cols={12} rowHeight={83.5} margin={[layoutMargin, layoutMargin]} containerPadding={[0, 0]}>
|
||||
{this.generateGraphs()}
|
||||
</GridLayout>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue