diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-04-04 21:47:11 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-04-04 21:47:11 -0700 |
commit | 5bfcb85c789fcc9fdff8e4eb10c2952fa17969e5 (patch) | |
tree | ab353f0fe31170d9459eec4681530edfa64d3cfc /modern/src/reports/RouteReportPage.js | |
parent | 965991346fb5d8404bd1a46ef4344c63e7b65d8e (diff) | |
download | trackermap-web-5bfcb85c789fcc9fdff8e4eb10c2952fa17969e5.tar.gz trackermap-web-5bfcb85c789fcc9fdff8e4eb10c2952fa17969e5.tar.bz2 trackermap-web-5bfcb85c789fcc9fdff8e4eb10c2952fa17969e5.zip |
Add paper background
Diffstat (limited to 'modern/src/reports/RouteReportPage.js')
-rw-r--r-- | modern/src/reports/RouteReportPage.js | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/modern/src/reports/RouteReportPage.js b/modern/src/reports/RouteReportPage.js index b8bad00d..02d41a2e 100644 --- a/modern/src/reports/RouteReportPage.js +++ b/modern/src/reports/RouteReportPage.js @@ -5,6 +5,7 @@ import { formatDistance, formatSpeed, formatBoolean, formatDate, formatCoordinat import ReportFilter from './ReportFilter'; import ReportLayoutPage from './ReportLayoutPage'; import { useAttributePreference, usePreference } from '../common/preferences'; +import { Paper } from '@material-ui/core'; const Filter = ({ setItems }) => { @@ -81,11 +82,13 @@ const RouteReportPage = () => { return ( <ReportLayoutPage filter={<Filter setItems={setItems} />}> - <DataGrid - rows={items} - columns={columns} - hideFooter - autoHeight /> + <Paper> + <DataGrid + rows={items} + columns={columns} + hideFooter + autoHeight /> + </Paper> </ReportLayoutPage> ); }; |