make TransfersGraph full width
This commit is contained in:
parent
069e8d8831
commit
17f7fb9011
|
@ -82,7 +82,7 @@ const TransfersGraph = ({ transfers }) => {
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<CytoscapeComponent
|
<CytoscapeComponent
|
||||||
elements={createElements(transfers, vaultEvents)}
|
elements={createElements(transfers, vaultEvents)}
|
||||||
style={ { width: '800px', height: '100%', fontSize: '14px' } }
|
style={ { width: '100vw', height: '100%', fontSize: '14px' } }
|
||||||
stylesheet={stylesheet}
|
stylesheet={stylesheet}
|
||||||
layout={layout}
|
layout={layout}
|
||||||
/>
|
/>
|
||||||
|
@ -93,7 +93,7 @@ const TransfersGraph = ({ transfers }) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
TransfersGraph.propTypes = {
|
TransfersGraph.propTypes = {
|
||||||
transfers: PropTypes.object.isRequired
|
transfers: PropTypes.array.isRequired
|
||||||
}
|
}
|
||||||
|
|
||||||
export default withDatabase(withObservables([], ({ database }) => ({
|
export default withDatabase(withObservables([], ({ database }) => ({
|
||||||
|
|
Loading…
Reference in New Issue