diff options
author | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-05-22 12:49:22 +0530 |
---|---|---|
committer | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-05-22 12:49:22 +0530 |
commit | f15034e5fe4e5c702975b8a0f583a9917c4b1b3b (patch) | |
tree | ee820cd9d53cd296b916996e3e2d748575168f60 /modern/src/reports/ReportFilter.js | |
parent | 0ab07c40f48889727b1503eaedb5daa8f344dd19 (diff) | |
download | etbsa-traccar-web-f15034e5fe4e5c702975b8a0f583a9917c4b1b3b.tar.gz etbsa-traccar-web-f15034e5fe4e5c702975b8a0f583a9917c4b1b3b.tar.bz2 etbsa-traccar-web-f15034e5fe4e5c702975b8a0f583a9917c4b1b3b.zip |
Resolving Comments and Observations
Diffstat (limited to 'modern/src/reports/ReportFilter.js')
-rw-r--r-- | modern/src/reports/ReportFilter.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modern/src/reports/ReportFilter.js b/modern/src/reports/ReportFilter.js index 1d67691..0e5ab69 100644 --- a/modern/src/reports/ReportFilter.js +++ b/modern/src/reports/ReportFilter.js @@ -1,8 +1,8 @@ import React, { useState } from 'react'; -import { FormControl, InputLabel, Select, MenuItem, Button, TextField, Grid } from '@material-ui/core'; -import t from '../common/localization'; +import { FormControl, InputLabel, Select, MenuItem, Button, TextField, Grid, Typography } from '@material-ui/core'; import { useSelector } from 'react-redux'; import moment from 'moment'; +import t from '../common/localization'; const ReportFilter = ({ children, handleSubmit, showOnly }) => { @@ -101,7 +101,7 @@ const ReportFilter = ({ children, handleSubmit, showOnly }) => { fullWidth /> </Grid>} {children} - <Grid item xs={4} sm={!showOnly ? 2 : 4}> + <Grid item xs={!showOnly ? 4 : 12} sm={!showOnly ? 2 : 6}> <Button onClick={() => handleClick(false, true)} variant='outlined' @@ -127,7 +127,7 @@ const ReportFilter = ({ children, handleSubmit, showOnly }) => { variant='outlined' color='secondary' fullWidth> - {t('reportEmail')} + <Typography variant="button" noWrap>{t('reportEmail')}</Typography> </Button>} </Grid> </Grid> |