aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-06 15:44:54 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-06 15:44:54 -0700
commit9cafcd3288430dc8c26cd0c31cafb73af8a5e229 (patch)
tree7a1271c2b0dac7974b840ed4b6db715bcd42c99f /modern/src/settings
parent48c039d4e9dc1ed037cde499f06e7c4d7e44b08e (diff)
downloadtrackermap-web-9cafcd3288430dc8c26cd0c31cafb73af8a5e229.tar.gz
trackermap-web-9cafcd3288430dc8c26cd0c31cafb73af8a5e229.tar.bz2
trackermap-web-9cafcd3288430dc8c26cd0c31cafb73af8a5e229.zip
Improve layouts
Diffstat (limited to 'modern/src/settings')
-rw-r--r--modern/src/settings/OptionsLayout.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/modern/src/settings/OptionsLayout.js b/modern/src/settings/OptionsLayout.js
index ccd2bdb7..c70ef7fe 100644
--- a/modern/src/settings/OptionsLayout.js
+++ b/modern/src/settings/OptionsLayout.js
@@ -31,6 +31,9 @@ import { useAdministrator, useReadonly } from '../common/permissions';
const useStyles = makeStyles((theme) => ({
root: {
display: 'flex',
+ [theme.breakpoints.down('sm')]: {
+ flexDirection: 'column',
+ },
height: '100%',
},
drawerContainer: {
@@ -44,10 +47,6 @@ const useStyles = makeStyles((theme) => ({
},
content: {
flex: 1,
- padding: theme.spacing(5, 3, 3, 3),
- [theme.breakpoints.down('sm')]: {
- paddingTop: theme.spacing(10),
- },
},
drawerHeader: {
...theme.mixins.toolbar,