diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-23 08:49:58 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-23 08:49:58 -0700 |
commit | b98137ab304e8068484926eb31b77bd727a6407d (patch) | |
tree | f2fb0c55e27652c1a6b831aad6e8ff46a3637832 /modern/src/main/StatusCard.js | |
parent | 145fd060b544ea7886c5b6b11b24fb3da9b93127 (diff) | |
download | trackermap-web-b98137ab304e8068484926eb31b77bd727a6407d.tar.gz trackermap-web-b98137ab304e8068484926eb31b77bd727a6407d.tar.bz2 trackermap-web-b98137ab304e8068484926eb31b77bd727a6407d.zip |
Use standard icon button size
Diffstat (limited to 'modern/src/main/StatusCard.js')
-rw-r--r-- | modern/src/main/StatusCard.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/modern/src/main/StatusCard.js b/modern/src/main/StatusCard.js index 37e4a1d1..ec33efa2 100644 --- a/modern/src/main/StatusCard.js +++ b/modern/src/main/StatusCard.js @@ -115,7 +115,7 @@ const StatusCard = ({ deviceId, onClose }) => { </Avatar> )} action={( - <IconButton size="large" onClick={onClose}> + <IconButton onClick={onClose}> <CloseIcon /> </IconButton> )} @@ -148,35 +148,30 @@ const StatusCard = ({ deviceId, onClose }) => { <CardActions classes={{ root: classes.actions }} disableSpacing> <IconButton color="secondary" - size="large" onClick={() => navigate(`/position/${position.id}`)} disabled={!position} > <PostAddIcon /> </IconButton> <IconButton - size="large" onClick={() => navigate('/replay')} disabled={!position} > <ReplayIcon /> </IconButton> <IconButton - size="large" onClick={() => navigate(`/settings/command-send/${deviceId}`)} disabled={readonly} > <PublishIcon /> </IconButton> <IconButton - size="large" onClick={() => navigate(`/settings/device/${deviceId}`)} disabled={deviceReadonly} > <EditIcon /> </IconButton> <IconButton - size="large" onClick={() => setRemoving(true)} disabled={deviceReadonly} className={classes.negative} |