aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-04-04 21:47:11 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-04-04 21:47:11 -0700
commit5bfcb85c789fcc9fdff8e4eb10c2952fa17969e5 (patch)
treeab353f0fe31170d9459eec4681530edfa64d3cfc
parent965991346fb5d8404bd1a46ef4344c63e7b65d8e (diff)
downloadetbsa-traccar-web-5bfcb85c789fcc9fdff8e4eb10c2952fa17969e5.tar.gz
etbsa-traccar-web-5bfcb85c789fcc9fdff8e4eb10c2952fa17969e5.tar.bz2
etbsa-traccar-web-5bfcb85c789fcc9fdff8e4eb10c2952fa17969e5.zip
Add paper background
-rw-r--r--modern/src/reports/RouteReportPage.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/modern/src/reports/RouteReportPage.js b/modern/src/reports/RouteReportPage.js
index b8bad00..02d41a2 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>
);
};