aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings
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/settings
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/settings')
-rw-r--r--modern/src/settings/UserPage.js1
-rw-r--r--modern/src/settings/components/EditAttributesView.js5
2 files changed, 2 insertions, 4 deletions
diff --git a/modern/src/settings/UserPage.js b/modern/src/settings/UserPage.js
index d279fce3..48769557 100644
--- a/modern/src/settings/UserPage.js
+++ b/modern/src/settings/UserPage.js
@@ -218,7 +218,6 @@ const UserPage = () => {
endAdornment={(
<InputAdornment position="end">
<IconButton
- size="large"
onClick={() => {
const token = [...Array(30)].map(() => Math.random().toString(36)[2]).join('');
setItem({ ...item, token });
diff --git a/modern/src/settings/components/EditAttributesView.js b/modern/src/settings/components/EditAttributesView.js
index d714c489..e6e1ddf0 100644
--- a/modern/src/settings/components/EditAttributesView.js
+++ b/modern/src/settings/components/EditAttributesView.js
@@ -166,7 +166,7 @@ const EditAttributesView = ({ attributes, setAttributes, definitions }) => {
)}
label={getAttributeName(key, subtype)}
/>
- <IconButton size="large" className={classes.removeButton} onClick={() => deleteAttribute(key)}>
+ <IconButton className={classes.removeButton} onClick={() => deleteAttribute(key)}>
<CloseIcon />
</IconButton>
</Grid>
@@ -181,7 +181,7 @@ const EditAttributesView = ({ attributes, setAttributes, definitions }) => {
onChange={(e) => updateAttribute(key, e.target.value, type, subtype)}
endAdornment={(
<InputAdornment position="end">
- <IconButton size="large" onClick={() => deleteAttribute(key)}>
+ <IconButton onClick={() => deleteAttribute(key)}>
<CloseIcon />
</IconButton>
</InputAdornment>
@@ -191,7 +191,6 @@ const EditAttributesView = ({ attributes, setAttributes, definitions }) => {
);
})}
<Button
- size="large"
variant="outlined"
color="primary"
onClick={() => setAddDialogShown(true)}