fix breakpoints
This commit is contained in:
@@ -25,6 +25,7 @@ const BUTTON_SIZE = 34 // small button
|
|||||||
export function Outer({children}: {children: React.ReactNode}) {
|
export function Outer({children}: {children: React.ReactNode}) {
|
||||||
const t = useTheme()
|
const t = useTheme()
|
||||||
const gutter = useGutterStyles()
|
const gutter = useGutterStyles()
|
||||||
|
const {gtMobile} = useBreakpoints()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View
|
<View
|
||||||
@@ -37,8 +38,7 @@ export function Outer({children}: {children: React.ReactNode}) {
|
|||||||
gutter,
|
gutter,
|
||||||
a.py_sm,
|
a.py_sm,
|
||||||
t.atoms.border_contrast_low,
|
t.atoms.border_contrast_low,
|
||||||
a.mx_auto,
|
gtMobile && [a.mx_auto, {maxWidth: 600}],
|
||||||
{maxWidth: 600},
|
|
||||||
]}>
|
]}>
|
||||||
{children}
|
{children}
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Reference in New Issue
Block a user