aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-05-24 11:25:48 +0530
committerAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-05-24 11:25:48 +0530
commit10b8e1d6f4ed63c43da2cd71bf21f34b31071cd1 (patch)
treedc195ad10777e9459f4365ab7a817f8f3db5c331 /modern/src
parentf15034e5fe4e5c702975b8a0f583a9917c4b1b3b (diff)
downloadetbsa-traccar-web-10b8e1d6f4ed63c43da2cd71bf21f34b31071cd1.tar.gz
etbsa-traccar-web-10b8e1d6f4ed63c43da2cd71bf21f34b31071cd1.tar.bz2
etbsa-traccar-web-10b8e1d6f4ed63c43da2cd71bf21f34b31071cd1.zip
Revert to last commit
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/reports/ReportLayoutPage.js14
1 files changed, 9 insertions, 5 deletions
diff --git a/modern/src/reports/ReportLayoutPage.js b/modern/src/reports/ReportLayoutPage.js
index fbb8a30..23ac6d7 100644
--- a/modern/src/reports/ReportLayoutPage.js
+++ b/modern/src/reports/ReportLayoutPage.js
@@ -1,7 +1,5 @@
import React, { useState } from 'react';
-import { AppBar, Toolbar, Typography, List, ListItem, ListItemText, ListItemIcon, Divider, Drawer, makeStyles, IconButton, Hidden } from '@material-ui/core';
-import { useTheme } from "@material-ui/core/styles";
-import MenuIcon from '@material-ui/icons/Menu';
+import { Grid, Box, Typography, Divider, Drawer, makeStyles, IconButton, Hidden } from '@material-ui/core';
import TimelineIcon from '@material-ui/icons/Timeline';
import PauseCircleFilledIcon from '@material-ui/icons/PauseCircleFilled';
import PlayCircleFilledIcon from '@material-ui/icons/PlayCircleFilled';
@@ -102,8 +100,14 @@ const ReportLayoutPage = ({ children, filter }) => {
</Hidden>
<div className={classes.content}>
<div className={classes.toolbar} />
- {filter}
- {children}
+ <Grid container direction="column" spacing={2}>
+ <Grid item>{filter}</Grid>
+ <Grid item>
+ <Box sx={{ minWidth: 1050 }}>
+ {children}
+ </Box>
+ </Grid>
+ </Grid>
</div>
</div>
);