add horizontal margin to pages when mobile screen

This commit is contained in:
vczb 2021-01-24 20:52:23 -03:00
parent 027c4aca70
commit 53d3da2db6

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>
)