Skip to content

Commit

Permalink
feat(TotalLayout): Breakpoint based width
Browse files Browse the repository at this point in the history
  • Loading branch information
johan-fx committed Dec 22, 2023
1 parent 9dc9a0b commit 5b7016d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ const TotalLayoutFooterContainerStyles = createStyles(
(theme, { showFooterBorder, leftOffset, fixed }) => ({
root: {},
footer: {
minWidth: 928,
maxWidth: 928,
width: '100%',
width: 928,
marginLeft: leftOffset,
backgroundColor: 'white',
borderTop: showFooterBorder && `1px solid ${theme.other.divider.background.color.default}`,
zIndex: 1,
position: fixed ? 'fixed' : 'relative',
bottom: 0,
'@media (min-width: 1920px)': {
width: 1200,
},
},
}),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ const TotalLayoutStepContainerStyles = createStyles((theme, { hasFooter, clean }
padding: '30px 0 0 0 ',
width: 928,
height: '100%',
'@media (min-width: 1920px)': {
width: 1200,
},
},
formContainer: {
backgroundColor: !clean && 'white',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ const VerticalStepperContainerStyles = createStyles((theme) => {
},
content: {
width: 928,
'@media (min-width: 1920px)': {
width: 1200,
},
},
};
});
Expand Down

0 comments on commit 5b7016d

Please sign in to comment.