diff options
Diffstat (limited to 'modern/src/other/ReplayPage.js')
-rw-r--r-- | modern/src/other/ReplayPage.js | 18 |
1 files changed, 5 insertions, 13 deletions
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 = () => { <div className={classes.sidebar}> <Paper elevation={3} square> <Toolbar> - <IconButton size="large" onClick={() => navigate('/')}> + <IconButton onClick={() => navigate('/')}> <ArrowBackIcon /> </IconButton> <Typography variant="h6" className={classes.title}>{t('reportReplay')}</Typography> {!expanded && ( <Grid item> - <IconButton size="large" onClick={() => setExpanded(true)}> + <IconButton onClick={() => setExpanded(true)}> <SettingsIcon /> </IconButton> </Grid> @@ -177,21 +177,13 @@ const ReplayPage = () => { /> <div className={classes.controls}> {`${index + 1}/${positions.length}`} - <IconButton - size="large" - onClick={() => setIndex((index) => index - 1)} - disabled={playing} - > + <IconButton onClick={() => setIndex((index) => index - 1)} disabled={playing}> <FastRewindIcon /> </IconButton> - <IconButton onClick={() => setPlaying(!playing)} size="large"> + <IconButton onClick={() => setPlaying(!playing)}> {playing ? <PauseIcon /> : <PlayArrowIcon /> } </IconButton> - <IconButton - size="large" - onClick={() => setIndex((index) => index + 1)} - disabled={playing} - > + <IconButton onClick={() => setIndex((index) => index + 1)} disabled={playing}> <FastForwardIcon /> </IconButton> {formatTime(positions[index].fixTime)} |