aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-04 09:15:32 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-04 09:15:32 -0700
commit45ec0a34241ff71f3b6a55225283b8d663fde28b (patch)
tree471bcdc71560a8d8111024e75cc92ada5aa2f4de /modern/src
parent5db60ebe5db629e67afdd33805cf0eba286403fa (diff)
downloadtrackermap-web-45ec0a34241ff71f3b6a55225283b8d663fde28b.tar.gz
trackermap-web-45ec0a34241ff71f3b6a55225283b8d663fde28b.tar.bz2
trackermap-web-45ec0a34241ff71f3b6a55225283b8d663fde28b.zip
Minor replay cleanup
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/map/ReplayPathMap.js4
-rw-r--r--modern/src/reports/ReplayPage.js9
2 files changed, 4 insertions, 9 deletions
diff --git a/modern/src/map/ReplayPathMap.js b/modern/src/map/ReplayPathMap.js
index 022548b7..971c2b36 100644
--- a/modern/src/map/ReplayPathMap.js
+++ b/modern/src/map/ReplayPathMap.js
@@ -25,8 +25,8 @@ const ReplayPathMap = ({ positions }) => {
'line-cap': 'round',
},
paint: {
- 'line-color': '#333',
- 'line-width': 5,
+ 'line-color': '#3bb2d0',
+ 'line-width': 2,
},
});
diff --git a/modern/src/reports/ReplayPage.js b/modern/src/reports/ReplayPage.js
index 08563b3a..d7c77ee8 100644
--- a/modern/src/reports/ReplayPage.js
+++ b/modern/src/reports/ReplayPage.js
@@ -21,9 +21,6 @@ const useStyles = makeStyles((theme) => ({
root: {
height: '100vh',
},
- title: {
- ...theme.typography.title,
- },
sidebar: {
position: 'absolute',
left: 0,
@@ -130,9 +127,7 @@ const ReplayPage = () => {
</IconButton>
</Grid>
<Grid item xs>
- <Typography className={classes.replay} color="primary">
- {t('reportReplay')}
- </Typography>
+ <Typography variant="h6">{t('reportReplay')}</Typography>
</Grid>
{!expanded && (
<Grid item>
@@ -150,7 +145,7 @@ const ReplayPage = () => {
<Paper className={classes.sliderContainer}>
<Grid container direction="column" alignItems="center">
<Grid item>
- <span className={classes.title}>{deviceName}</span>
+ {deviceName}
</Grid>
<Grid item style={{ width: '100%' }}>
<Slider