From d418737bc2b9ce3b33f800cda18346e71cb7d2c7 Mon Sep 17 00:00:00 2001 From: Esko Ikkala <esko.ikkala@aalto.fi> Date: Mon, 6 Aug 2018 11:51:35 +0300 Subject: [PATCH] Adjust layout --- src/client/containers/MapApp.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/client/containers/MapApp.js b/src/client/containers/MapApp.js index b506ab57..45c0e2d7 100644 --- a/src/client/containers/MapApp.js +++ b/src/client/containers/MapApp.js @@ -62,7 +62,11 @@ const styles = theme => ({ }, map: { marginLeft: theme.spacing.unit, - height: '50%' + //marginBotto: theme.spacing.unit * 3, + height: '65%' + }, + statistics: { + height: '35%' } }); @@ -128,7 +132,7 @@ let MapApp = (props) => { <Paper className={classes.map}> {map} </Paper> - <div className={classes.map}> + <div className={classes.statistics}> <Pie data={props.results} groupBy={props.search.groupBy} query={props.search.query} /> </div> </Grid> -- GitLab