aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/components
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-04 10:27:06 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-04 10:27:06 -0700
commit88514a2ff053490b4342caeeaf5abf13355fc5d8 (patch)
treeef6a79a225863a416b96966c7bdaa491db9cec7e /modern/src/settings/components
parentc3485f12fbd263c5f3d52eefc6165dc3915edc12 (diff)
downloadtrackermap-web-88514a2ff053490b4342caeeaf5abf13355fc5d8.tar.gz
trackermap-web-88514a2ff053490b4342caeeaf5abf13355fc5d8.tar.bz2
trackermap-web-88514a2ff053490b4342caeeaf5abf13355fc5d8.zip
Better image layout (fix #678)
Diffstat (limited to 'modern/src/settings/components')
-rw-r--r--modern/src/settings/components/CollectionFab.js3
1 files changed, 1 insertions, 2 deletions
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),
},
},
}));