aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoubrid Ihab <boubrid.ihab@gmail.com>2022-07-08 15:01:01 +0100
committerBoubrid Ihab <boubrid.ihab@gmail.com>2022-07-08 15:01:01 +0100
commit95098bce72047b0635ba864da281d8e9934c8d54 (patch)
treec61dd6559c0a8d41199654e447686e4a8bfcdc4f
parent8ab8cf0a2b2da295a06d531068a2113a52d4c143 (diff)
downloadtrackermap-web-95098bce72047b0635ba864da281d8e9934c8d54.tar.gz
trackermap-web-95098bce72047b0635ba864da281d8e9934c8d54.tar.bz2
trackermap-web-95098bce72047b0635ba864da281d8e9934c8d54.zip
fix: Fab not shown on mobile device
-rw-r--r--modern/src/settings/components/CollectionFab.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/components/CollectionFab.js b/modern/src/settings/components/CollectionFab.js
index 44f91591..4bbafe30 100644
--- a/modern/src/settings/components/CollectionFab.js
+++ b/modern/src/settings/components/CollectionFab.js
@@ -11,7 +11,7 @@ const useStyles = makeStyles((theme) => ({
bottom: theme.spacing(2),
right: theme.spacing(2),
[theme.breakpoints.down('md')]: {
- bottom: theme.dimensions.bottomBarHeight + theme.spacing(2),
+ bottom: parseInt(dimensions.bottomBarHeight, 10) + parseInt(theme.spacing(2), 10),
},
},
}));