aboutsummaryrefslogtreecommitdiff
path: root/modern
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 /modern
parent965991346fb5d8404bd1a46ef4344c63e7b65d8e (diff)
downloadtrackermap-web-5bfcb85c789fcc9fdff8e4eb10c2952fa17969e5.tar.gz
trackermap-web-5bfcb85c789fcc9fdff8e4eb10c2952fa17969e5.tar.bz2
trackermap-web-5bfcb85c789fcc9fdff8e4eb10c2952fa17969e5.zip
Add paper background
Diffstat (limited to 'modern')
-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 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>
);
};