We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce99484 + ca9c7f8 commit 7a5086eCopy full SHA for 7a5086e
src/components/admin/index.tsx
@@ -24,7 +24,15 @@ const Editors = {
24
25
const useStyles = makeStyles((theme) => ({
26
root: {
27
- flexGrow: 1,
+ display: 'flex',
28
+ flexDirection: 'column',
29
+ width: '100%',
30
+ height: '100vh',
31
+ overflow: 'hidden',
32
+ },
33
+ content: {
34
+ flex: 1,
35
+ overflow: 'auto',
36
},
37
title: {
38
flexGrow: 1,
@@ -87,7 +95,7 @@ const Index: VFC = () => {
87
95
</Toolbar>
88
96
</AppBar>
89
97
90
- <Container>
98
+ <Container className={classes.content}>
91
99
<Box my={4}>
92
100
<Widgets />
93
101
</Box>
0 commit comments