From 1ff85d658d0866efe9d3c29758c74cb0e204faaa Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Wed, 15 Jun 2022 22:36:09 -0700 Subject: [PATCH] outline exposure meta --- src/components/GalleryImage/GalleryImage.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/GalleryImage/GalleryImage.js b/src/components/GalleryImage/GalleryImage.js index 0bbcc63..5512870 100644 --- a/src/components/GalleryImage/GalleryImage.js +++ b/src/components/GalleryImage/GalleryImage.js @@ -136,7 +136,9 @@ const GalleryImage = ({ data, pageContext }) => { maxWidth: zoom ? "unset" : `calc(max(calc(100vh - ${verticalPad}), 500px) * ${ar})`, - width: zoom ? `max(calc(100vw - 16px), calc(100vh * ${ar}))` : 'unset' + width: zoom + ? `max(calc(100vw - 16px), calc(100vh * ${ar}))` + : "unset", // minHeight: zoom ? "100vh" : "unset", }} > @@ -198,7 +200,7 @@ const GalleryImage = ({ data, pageContext }) => { icon="calendar-outline" title="date taken" /> -
+