add margin x to page when mobile screen

This commit is contained in:
vczb 2020-11-07 22:56:15 -03:00
parent f52c780c97
commit 7365582633

View File

@ -63,7 +63,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 && <HTMLContent html={page.body} />} {page?.body && <HTMLContent html={page.body} />}
</div> </div>
) )