From b98137ab304e8068484926eb31b77bd727a6407d Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 23 May 2022 08:49:58 -0700 Subject: Use standard icon button size --- modern/src/other/EventPage.js | 2 +- modern/src/other/GeofencesPage.js | 2 +- modern/src/other/PositionPage.js | 2 +- modern/src/other/ReplayPage.js | 18 +++++------------- 4 files changed, 8 insertions(+), 16 deletions(-) (limited to 'modern/src/other') diff --git a/modern/src/other/EventPage.js b/modern/src/other/EventPage.js index d2f12ed1..f4427ca9 100644 --- a/modern/src/other/EventPage.js +++ b/modern/src/other/EventPage.js @@ -61,7 +61,7 @@ const EventPage = () => {
- navigate('/')}> + navigate('/')}> {t('positionEvent')} diff --git a/modern/src/other/GeofencesPage.js b/modern/src/other/GeofencesPage.js index 6f60ce42..6706ec98 100644 --- a/modern/src/other/GeofencesPage.js +++ b/modern/src/other/GeofencesPage.js @@ -66,7 +66,7 @@ const GeofencesPage = () => { classes={{ paper: classes.drawerPaper }} >
- navigate(-1)}> + navigate(-1)}> diff --git a/modern/src/other/PositionPage.js b/modern/src/other/PositionPage.js index 2c755a5a..61c40902 100644 --- a/modern/src/other/PositionPage.js +++ b/modern/src/other/PositionPage.js @@ -74,7 +74,7 @@ const PositionPage = () => {
- navigate(-1)}> + navigate(-1)}> diff --git a/modern/src/other/ReplayPage.js b/modern/src/other/ReplayPage.js index 4b3c4c09..1c82c913 100644 --- a/modern/src/other/ReplayPage.js +++ b/modern/src/other/ReplayPage.js @@ -147,13 +147,13 @@ const ReplayPage = () => {
- navigate('/')}> + navigate('/')}> {t('reportReplay')} {!expanded && ( - setExpanded(true)}> + setExpanded(true)}> @@ -177,21 +177,13 @@ const ReplayPage = () => { />
{`${index + 1}/${positions.length}`} - setIndex((index) => index - 1)} - disabled={playing} - > + setIndex((index) => index - 1)} disabled={playing}> - setPlaying(!playing)} size="large"> + setPlaying(!playing)}> {playing ? : } - setIndex((index) => index + 1)} - disabled={playing} - > + setIndex((index) => index + 1)} disabled={playing}> {formatTime(positions[index].fixTime)} -- cgit v1.2.3