fix zoomed images too big

This commit is contained in:
Chuck Dries 2022-06-28 22:55:46 -07:00
parent 6f6dea204e
commit 01b965cfaa
No known key found for this signature in database
GPG Key ID: A00B7AEAE1DC5BE6

View File

@ -155,6 +155,7 @@ const GalleryImage = ({ data, pageContext }) => {
alt={name}
src={image.publicURL}
style={{
width: canonicalSize.width / window.devicePixelRatio,
maxWidth: "unset",
}}
/>