fix portrait images on narrow displays

This commit is contained in:
Chuck Dries 2021-11-07 14:29:13 -08:00
parent c942e6a043
commit c3375ce2de

View File

@ -145,10 +145,10 @@ const GalleryImage = ({ data, pageContext }) => {
</div>
<div
className={classnames(
"px-2 flex flex-row portrait:items-end container mx-auto",
"px-2 flex flex-row portrait:items-end mx-auto",
ar <= 1
? "pt-5 flex-col flex-auto text-right"
: "portrait:pt-5 portrait:flex-col portrait:text-right"
: "container portrait:pt-5 portrait:flex-col portrait:text-right"
)}
>
<div className="flex-auto mr-2">