diff options
-rw-r--r-- | modern/src/App.js | 2 | ||||
-rw-r--r-- | modern/src/common/theme/dimensions.js | 1 | ||||
-rw-r--r-- | modern/src/other/GeofencesPage.js | 5 |
3 files changed, 5 insertions, 3 deletions
diff --git a/modern/src/App.js b/modern/src/App.js index 6305d487..0afefce4 100644 --- a/modern/src/App.js +++ b/modern/src/App.js @@ -57,7 +57,7 @@ const useStyles = makeStyles(() => ({ overflow: 'auto', }, menu: { - zIndex: 4, + zIndex: 1204, }, })); diff --git a/modern/src/common/theme/dimensions.js b/modern/src/common/theme/dimensions.js index fcb3b31f..d68a94f5 100644 --- a/modern/src/common/theme/dimensions.js +++ b/modern/src/common/theme/dimensions.js @@ -5,6 +5,7 @@ export default { sidebarWidthTablet: '52px', drawerWidthDesktop: '360px', drawerWidthTablet: '320px', + drawerHeightPhone: '250px', filterFormWidth: '160px', bottomBarHeight: 56, columnWidthDate: 160, diff --git a/modern/src/other/GeofencesPage.js b/modern/src/other/GeofencesPage.js index c8144991..900571e1 100644 --- a/modern/src/other/GeofencesPage.js +++ b/modern/src/other/GeofencesPage.js @@ -12,6 +12,7 @@ import CurrentLocationMap from '../map/CurrentLocationMap'; import GeofenceEditMap from '../map/GeofenceEditMap'; import GeofencesList from './GeofencesList'; import { useTranslation } from '../common/components/LocalizationProvider'; +import dimensions from '../common/theme/dimensions'; const useStyles = makeStyles((theme) => ({ root: { @@ -31,10 +32,10 @@ const useStyles = makeStyles((theme) => ({ drawerPaper: { position: 'relative', [theme.breakpoints.up('sm')]: { - width: 350, + width: dimensions.drawerWidthTablet, }, [theme.breakpoints.down('xs')]: { - height: 250, + height: dimensions.drawerHeightPhone, }, }, drawerHeader: { |