Skip to content

Commit

Permalink
Fix action button position
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Sep 16, 2024
1 parent 964144b commit 8fc60ab
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/settings/components/CollectionFab.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 '';
Expand Down

0 comments on commit 8fc60ab

Please sign in to comment.