aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/main/MainPage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js
index 9190edd7..c33df655 100644
--- a/modern/src/main/MainPage.js
+++ b/modern/src/main/MainPage.js
@@ -76,13 +76,13 @@ const useStyles = makeStyles((theme) => ({
statusCard: {
position: 'fixed',
zIndex: 5,
- [theme.breakpoints.up('sm')]: {
+ [theme.breakpoints.up('md')]: {
left: `calc(50% + ${theme.dimensions.drawerWidthDesktop} / 2)`,
bottom: theme.spacing(3),
},
[theme.breakpoints.down('md')]: {
left: '50%',
- bottom: theme.spacing(3) + theme.dimensions.bottomBarHeight,
+ bottom: `calc(${theme.spacing(3)} + ${theme.dimensions.bottomBarHeight}px)`,
},
transform: 'translateX(-50%)',
},