Skip to content

Commit da07d0f

Browse files
committed
Fix layout
1 parent 1897d32 commit da07d0f

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

frontend/src/components/layout/Layout.tsx

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,23 @@ import { BrowserRouter as Router } from 'react-router-dom'
33

44
import GlobalRoutes from './../../routes/GlobalRoutes'
55
import Container from '@material-ui/core/Container'
6+
import Box from '@material-ui/core/Box'
67

78
const Layout: React.FC = () => {
89
return (
910
<Router>
10-
<Container style={{ display: 'flex' }}>
11-
<GlobalRoutes />
12-
</Container>
11+
<Box
12+
clone
13+
display="flex"
14+
justifyContent="center"
15+
alignItems="center"
16+
flexDirection="column"
17+
minHeight="100vh"
18+
>
19+
<Container>
20+
<GlobalRoutes />
21+
</Container>
22+
</Box>
1323
</Router>
1424
)
1525
}

0 commit comments

Comments
 (0)