aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/components/CollectionFab.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2022-07-08 12:16:11 -0700
committerGitHub <noreply@github.com>2022-07-08 12:16:11 -0700
commit11d19f1fb7335f37ac39c91b6e2b5c9a8df8f96e (patch)
tree47776c4409610e6b79c3bda50f185a21ee0ec590 /modern/src/settings/components/CollectionFab.js
parent8ab8cf0a2b2da295a06d531068a2113a52d4c143 (diff)
parent9e1770e1fb638b0dfbbb7ea7881773252b7732c5 (diff)
downloadtrackermap-web-11d19f1fb7335f37ac39c91b6e2b5c9a8df8f96e.tar.gz
trackermap-web-11d19f1fb7335f37ac39c91b6e2b5c9a8df8f96e.tar.bz2
trackermap-web-11d19f1fb7335f37ac39c91b6e2b5c9a8df8f96e.zip
Merge pull request #984 from BIhab/traccar
Fix: Fab Button now shown on mobile devices
Diffstat (limited to 'modern/src/settings/components/CollectionFab.js')
-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..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: theme.dimensions.bottomBarHeight + theme.spacing(2),
+ bottom: `calc(${theme.dimensions.bottomBarHeight}px + ${theme.spacing(2)})`,
},
},
}));