From 95098bce72047b0635ba864da281d8e9934c8d54 Mon Sep 17 00:00:00 2001 From: Boubrid Ihab Date: Fri, 8 Jul 2022 15:01:01 +0100 Subject: fix: Fab not shown on mobile device --- modern/src/settings/components/CollectionFab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern') 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), }, }, })); -- cgit v1.2.3