From 88514a2ff053490b4342caeeaf5abf13355fc5d8 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 4 Jul 2022 10:27:06 -0700 Subject: Better image layout (fix #678) --- modern/src/settings/components/CollectionFab.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modern/src/settings') diff --git a/modern/src/settings/components/CollectionFab.js b/modern/src/settings/components/CollectionFab.js index 2fb5b5c9..44f91591 100644 --- a/modern/src/settings/components/CollectionFab.js +++ b/modern/src/settings/components/CollectionFab.js @@ -4,7 +4,6 @@ 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'; const useStyles = makeStyles((theme) => ({ fab: { @@ -12,7 +11,7 @@ const useStyles = makeStyles((theme) => ({ bottom: theme.spacing(2), right: theme.spacing(2), [theme.breakpoints.down('md')]: { - bottom: dimensions.bottomBarHeight + theme.spacing(2), + bottom: theme.dimensions.bottomBarHeight + theme.spacing(2), }, }, })); -- cgit v1.2.3