mirror of
https://github.com/vercel/commerce.git
synced 2025-06-18 21:21:21 +00:00
add horizontal margin to pages when mobile screen
This commit is contained in:
parent
027c4aca70
commit
53d3da2db6
@ -65,7 +65,7 @@ export default function Pages({
|
|||||||
page,
|
page,
|
||||||
}: InferGetStaticPropsType<typeof getStaticProps>) {
|
}: InferGetStaticPropsType<typeof getStaticProps>) {
|
||||||
return (
|
return (
|
||||||
<div className="max-w-2xl mx-auto py-20">
|
<div className="max-w-2xl mx-8 sm:mx-auto py-20">
|
||||||
{page?.body && <Text html={page.body} />}
|
{page?.body && <Text html={page.body} />}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user