index page styling on small phones

This commit is contained in:
Chuck Dries 2022-11-17 17:18:24 -08:00
parent 7d1315c656
commit f97033ad9f
No known key found for this signature in database
GPG Key ID: A00B7AEAE1DC5BE6

View File

@ -92,7 +92,7 @@ const IndexPage = ({
/>
<GatsbyImage
alt=""
className="flex-auto m-8 mt-0"
className="flex-auto m-4 md:m-8 mt-0 md:mt-0"
image={img!}
loading="eager"
objectFit={browserIsLandscape ? "cover" : "contain"}