fix breakpoints

This commit is contained in:
Samuel Newman
2024-12-04 18:17:56 +00:00
parent 4669e66e07
commit 0bd55e2562
+2 -2
View File
@@ -25,6 +25,7 @@ const BUTTON_SIZE = 34 // small button
export function Outer({children}: {children: React.ReactNode}) {
const t = useTheme()
const gutter = useGutterStyles()
const {gtMobile} = useBreakpoints()
return (
<View
@@ -37,8 +38,7 @@ export function Outer({children}: {children: React.ReactNode}) {
gutter,
a.py_sm,
t.atoms.border_contrast_low,
a.mx_auto,
{maxWidth: 600},
gtMobile && [a.mx_auto, {maxWidth: 600}],
]}>
{children}
</View>