From 0a3f8295dc32b25699c5a5c94f2dc2302ac6786f Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Wed, 13 Jul 2022 21:49:22 -0700 Subject: [PATCH] galleryimage horizontal scrollbars --- src/components/GalleryImage/GalleryImage.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/GalleryImage/GalleryImage.js b/src/components/GalleryImage/GalleryImage.js index 818fd58..92fd76d 100644 --- a/src/components/GalleryImage/GalleryImage.js +++ b/src/components/GalleryImage/GalleryImage.js @@ -131,9 +131,9 @@ const GalleryImage = ({ data, location: { state } }) => { const orientationClasses = ar > 1 - ? "flex-col mx-auto" + ? "flex-col" : "portrait:mx-auto landscape:mx-5 landscape:flex-row-reverse portrait:flex-col"; - const verticalPad = ar > 1 ? "170px" : "70px"; + const verticalPad = ar > 1 ? "250px" : "100px"; const shutterSpeed = React.useMemo( () => getShutterFractionFromExposureTime(meta.ExposureTime || 0), @@ -149,7 +149,7 @@ const GalleryImage = ({ data, location: { state } }) => { style={getHelmetSafeBodyStyle(vibrant)} /> -
+