Skip to content

Commit

Permalink
Increase max width, center whole app
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed Mar 3, 2023
1 parent acb43fc commit 5a541c4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion src/client/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ const App = () => {
}}
>
<NavBar />
<Box flexGrow={1}>
<Box
flexGrow={1}
display="flex"
justifyContent="center"
alignItems="center"
minHeight="100vh"
>
<Router />
</Box>
<Footer />
Expand Down
2 changes: 1 addition & 1 deletion src/client/components/InteractiveForm/InteractiveForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const InteractiveForm = () => {
if (isLoading) return null

return (
<Box my="2rem">
<Box my="2rem" maxWidth={1280}>
<Grid container>
<Grid item sm={12} md={7} xl={6}>
<form onSubmit={handleSubmit(onSubmit)}>
Expand Down
2 changes: 1 addition & 1 deletion src/client/components/ResultPage/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const cardStyles = {
},
outerBox: {
m: 2,
maxWidth: 1080,
maxWidth: 1280,
border: 1,
borderColor: 'grey.300',
},
Expand Down

0 comments on commit 5a541c4

Please sign in to comment.