fix horizontal portrait layout

This commit is contained in:
Chuck Dries 2022-05-20 00:06:21 -07:00
parent 7c9eba5101
commit 1a4343b6b6
No known key found for this signature in database
GPG Key ID: A00B7AEAE1DC5BE6

View File

@ -127,10 +127,10 @@ const IndexPage = ({
>
<div
className={classnames(
"landscape:flex-auto flex flex-col items-center justify-between w-screen",
"landscape:flex-auto flex flex-col items-center justify-between",
imageIsLandscape
? "portrait:items-center"
: "landscape:justify-center"
? "portrait:items-center landscape:w-screen"
: "landscape:justify-center portrait:w-screen"
)}
style={{ gridArea: "1/1" }}
>