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.
1 parent 1897d32 commit da07d0fCopy full SHA for da07d0f
frontend/src/components/layout/Layout.tsx
@@ -3,13 +3,23 @@ import { BrowserRouter as Router } from 'react-router-dom'
3
4
import GlobalRoutes from './../../routes/GlobalRoutes'
5
import Container from '@material-ui/core/Container'
6
+import Box from '@material-ui/core/Box'
7
8
const Layout: React.FC = () => {
9
return (
10
<Router>
- <Container style={{ display: 'flex' }}>
11
- <GlobalRoutes />
12
- </Container>
+ <Box
+ 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>
23
</Router>
24
)
25
}
0 commit comments