make TransfersGraph full width

This commit is contained in:
Barry Gitarts 2019-01-24 09:45:52 -05:00
parent 069e8d8831
commit 17f7fb9011
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ const TransfersGraph = ({ transfers }) => {
<Fragment>
<CytoscapeComponent
elements={createElements(transfers, vaultEvents)}
style={ { width: '800px', height: '100%', fontSize: '14px' } }
style={ { width: '100vw', height: '100%', fontSize: '14px' } }
stylesheet={stylesheet}
layout={layout}
/>
@ -93,7 +93,7 @@ const TransfersGraph = ({ transfers }) => {
}
TransfersGraph.propTypes = {
transfers: PropTypes.object.isRequired
transfers: PropTypes.array.isRequired
}
export default withDatabase(withObservables([], ({ database }) => ({