feat: flex 1 pages

This commit is contained in:
TrèsAbhi committed 2024-04-06 12:49:38 -05:00
1 parent f0b905593c
commit f516c9275e
3 files changed
+19 -11

No files matched your search

+9 -1
View File
@@ -13,7 +13,14 @@ export default function PageWrapper({
...props
}: PageWrapperProps) {
return (
<Theme accentColor={color}>
<Theme
accentColor={color}
style={{
flex: 1,
display: 'flex',
flexDirection: 'column',
}}
>
<Flex
direction="column"
gap="4"
@@ -23,6 +30,7 @@ export default function PageWrapper({
margin: 'auto',
padding: 16,
boxSizing: 'border-box',
flex: 1,
...style,
}}