Skip to content

Commit

Permalink
fix: Layout max width
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Nov 4, 2022
1 parent 8700f25 commit 67c2f28
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/configurator/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const useStyles = makeStyles((theme: Theme) => ({
// FIXME replace 96px with actual header size
top: 96,
width: "100%",
maxWidth: 1400,
height: "calc(100vh - 96px)",
display: "grid",
gridTemplateColumns:
Expand Down
2 changes: 1 addition & 1 deletion app/configurator/components/select-dataset-step.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const softJSONParse = (v: string) => {

const useStyles = makeStyles<Theme, { datasetPresent: boolean }>((theme) => ({
panelLayout: {
width: "100%",
maxWidth: 1400,
margin: "auto",
position: "static",
marginTop: ({ datasetPresent }) => (datasetPresent ? 96 : 0),
Expand Down

0 comments on commit 67c2f28

Please sign in to comment.