aboutsummaryrefslogtreecommitdiff
path: root/modern/src/main/MainPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-23 08:49:58 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-23 08:49:58 -0700
commitb98137ab304e8068484926eb31b77bd727a6407d (patch)
treef2fb0c55e27652c1a6b831aad6e8ff46a3637832 /modern/src/main/MainPage.js
parent145fd060b544ea7886c5b6b11b24fb3da9b93127 (diff)
downloadtrackermap-web-b98137ab304e8068484926eb31b77bd727a6407d.tar.gz
trackermap-web-b98137ab304e8068484926eb31b77bd727a6407d.tar.bz2
trackermap-web-b98137ab304e8068484926eb31b77bd727a6407d.zip
Use standard icon button size
Diffstat (limited to 'modern/src/main/MainPage.js')
-rw-r--r--modern/src/main/MainPage.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js
index 7235d1b4..059d7043 100644
--- a/modern/src/main/MainPage.js
+++ b/modern/src/main/MainPage.js
@@ -167,7 +167,7 @@ const MainPage = () => {
<Paper square elevation={3}>
<Toolbar className={classes.toolbar} disableGutters>
{!desktop && (
- <IconButton size="large" onClick={handleClose}>
+ <IconButton onClick={handleClose}>
<ArrowBackIcon />
</IconButton>
)}
@@ -179,15 +179,11 @@ const MainPage = () => {
onChange={(event) => setSearchKeyword(event.target.value)}
placeholder={t('sharedSearchDevices')}
/>
- <IconButton
- size="large"
- onClick={() => navigate('/settings/device')}
- disabled={deviceReadonly}
- >
+ <IconButton onClick={() => navigate('/settings/device')} disabled={deviceReadonly}>
<AddIcon />
</IconButton>
{desktop && (
- <IconButton size="large" onClick={handleClose}>
+ <IconButton onClick={handleClose}>
<CloseIcon />
</IconButton>
)}