add horizontal margin to pages when mobile screen (#180)

This commit is contained in:
Vinicius Zucatti 2021-01-29 11:27:42 -03:00 committed by GitHub
parent d7d7a38a8a
commit 877bc2b0bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ export default function Pages({
page,
}: InferGetStaticPropsType<typeof getStaticProps>) {
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} />}
</div>
)