aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorBoubrid Ihab <boubrid.ihab@gmail.com>2022-07-08 20:10:20 +0100
committerBoubrid Ihab <boubrid.ihab@gmail.com>2022-07-08 20:10:20 +0100
commit9e1770e1fb638b0dfbbb7ea7881773252b7732c5 (patch)
tree47776c4409610e6b79c3bda50f185a21ee0ec590 /modern
parent91b475e7824617b26d76303d6feba29e9c9cf995 (diff)
downloadtrackermap-web-9e1770e1fb638b0dfbbb7ea7881773252b7732c5.tar.gz
trackermap-web-9e1770e1fb638b0dfbbb7ea7881773252b7732c5.tar.bz2
trackermap-web-9e1770e1fb638b0dfbbb7ea7881773252b7732c5.zip
refactor: change parseInt with calc on fab Button
Diffstat (limited to 'modern')
-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 6aac68b5..b1230733 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(theme.dimensions.bottomBarHeight, 10) + parseInt(theme.spacing(2), 10),
+ bottom: `calc(${theme.dimensions.bottomBarHeight}px + ${theme.spacing(2)})`,
},
},
}));