Skip to content

Commit

Permalink
fix(patterns): fix page width to occupy available space (#1532)
Browse files Browse the repository at this point in the history
  • Loading branch information
davelinke authored Sep 12, 2024
1 parent eda3b48 commit 66bc0c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-brooms-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@bigcommerce/big-design-patterns': patch
---

Fixed page width definition to expand to the available area
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const StyledPageBackground = styled(Grid).attrs({ theme: defaultTheme })<

export const StyledPage = styled(Flex).attrs({ theme: defaultTheme })`
margin: 0 auto;
width: 100%;
${({ theme }) => theme.breakpoints.desktop} {
max-width: ${({ theme }) => theme.helpers.remCalc(1120)};
Expand Down

0 comments on commit 66bc0c8

Please sign in to comment.