From 91b475e7824617b26d76303d6feba29e9c9cf995 Mon Sep 17 00:00:00 2001 From: Boubrid Ihab Date: Fri, 8 Jul 2022 15:32:45 +0100 Subject: fix: replace dimensions with theme.dimensions --- modern/src/settings/components/CollectionFab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src/settings/components/CollectionFab.js') diff --git a/modern/src/settings/components/CollectionFab.js b/modern/src/settings/components/CollectionFab.js index 4bbafe30..6aac68b5 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: parseInt(dimensions.bottomBarHeight, 10) + parseInt(theme.spacing(2), 10), + bottom: parseInt(theme.dimensions.bottomBarHeight, 10) + parseInt(theme.spacing(2), 10), }, }, })); -- cgit v1.2.3