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/settings/components/EditAttributesView.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/settings/components/EditAttributesView.js')
-rw-r--r-- | modern/src/settings/components/EditAttributesView.js | 5 |
1 files changed, 2 insertions, 3 deletions
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)} |