Fix action button position

This commit is contained in:
Anton Tananaev 2024-09-15 21:33:42 -07:00
parent 964144ba3d
commit 8fc60ab902

View File

@ -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 '';