aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/components/CollectionFab.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings/components/CollectionFab.js')
-rw-r--r--modern/src/settings/components/CollectionFab.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/modern/src/settings/components/CollectionFab.js b/modern/src/settings/components/CollectionFab.js
index 36435cd9..2fb5b5c9 100644
--- a/modern/src/settings/components/CollectionFab.js
+++ b/modern/src/settings/components/CollectionFab.js
@@ -1,6 +1,7 @@
import React from 'react';
-import { Fab, makeStyles } from '@material-ui/core';
-import AddIcon from '@material-ui/icons/Add';
+import { Fab } from '@mui/material';
+import makeStyles from '@mui/styles/makeStyles';
+import AddIcon from '@mui/icons-material/Add';
import { useNavigate } from 'react-router-dom';
import { useReadonly } from '../../common/util/permissions';
import dimensions from '../../common/theme/dimensions';
@@ -10,7 +11,7 @@ const useStyles = makeStyles((theme) => ({
position: 'fixed',
bottom: theme.spacing(2),
right: theme.spacing(2),
- [theme.breakpoints.down('sm')]: {
+ [theme.breakpoints.down('md')]: {
bottom: dimensions.bottomBarHeight + theme.spacing(2),
},
},