mirror of
https://github.com/traccar/traccar-web.git
synced 2025-01-08 12:07:27 +08:00
Fix action button position
This commit is contained in:
parent
964144ba3d
commit
8fc60ab902
@ -24,9 +24,11 @@ const CollectionFab = ({ editPath, disabled }) => {
|
||||
|
||||
if (!readonly && !disabled) {
|
||||
return (
|
||||
<Fab size="medium" color="primary" className={classes.fab} onClick={() => navigate(editPath)}>
|
||||
<AddIcon />
|
||||
</Fab>
|
||||
<div className={classes.fab}>
|
||||
<Fab size="medium" color="primary" onClick={() => navigate(editPath)}>
|
||||
<AddIcon />
|
||||
</Fab>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
return '';
|
||||
|
Loading…
Reference in New Issue
Block a user