Skip to content

Commit

Permalink
Adjust page layout breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
kpyszkowski committed May 14, 2024
1 parent 39ffbc7 commit 2a72fc3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
5 changes: 2 additions & 3 deletions dapp/src/pages/DashboardPage/PageLayout/PageLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ function PageLayout(props: GridProps) {
gridTemplateColumns={{
base: "1fr",
md: "repeat(2, 1fr)",
xl: "0.76fr auto",
"2.5xl":
"minmax(358px, 0.25fr) minmax(748px, 1fr) minmax(358px, 0.25fr)",
lg: "1fr 0.5fr",
xl: "minmax(358px, auto) 1fr minmax(358px, auto)",
}}
{...restProps}
>
Expand Down
4 changes: 2 additions & 2 deletions dapp/src/pages/DashboardPage/PageLayout/PageLayoutColumn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ function PageLayoutColumn(props: PageLayoutColumnProps) {
gridArea={
isMain
? {
xl: "1 / 1 / 3 / 2",
"2.5xl": "1 / 2 / -1 / 3",
base: "1 / 1 / -1 / -1",
lg: "1 / 1 / 3 / 2",
xl: "1 / 2 / -1 / 3",
}
: undefined
}
Expand Down
1 change: 1 addition & 0 deletions dapp/src/pages/DashboardPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default function DashboardPage() {
<TextMd>Coming soon...</TextMd>
</VStack>
<Image
width="full"
zIndex={-1}
position="absolute"
inset={0}
Expand Down
3 changes: 0 additions & 3 deletions dapp/src/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ const defaultTheme = {
zIndices,
semanticTokens,
styles,
breakpoints: {
"2.5xl": "100.5rem", // 1608px
},
space: {
13: "3.25rem",
15: "3.75rem",
Expand Down

0 comments on commit 2a72fc3

Please sign in to comment.