From 9cafcd3288430dc8c26cd0c31cafb73af8a5e229 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 6 May 2022 15:44:54 -0700 Subject: Improve layouts --- modern/src/settings/OptionsLayout.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'modern/src/settings') 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, -- cgit v1.2.3