From e1825181b358fea7188f774093b3e19b48276ebe Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Wed, 22 Jun 2022 01:17:56 -0700 Subject: [PATCH] row height limit --- src/components/MasonryGallery.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/MasonryGallery.js b/src/components/MasonryGallery.js index 23c7c40..5ce3ed9 100644 --- a/src/components/MasonryGallery.js +++ b/src/components/MasonryGallery.js @@ -117,6 +117,7 @@ const MasonryGallery = ({ state={{ modal: true }} style={{ height: `calc(100vw / ${rowAspectRatioSum} - 10px)`, + maxHeight: '50vh', width, // borderColor: `hsl(${image.fields.imageMeta.dominantHue}, 100%, 50%)` // borderColor: `rgb(${image.fields.imageMeta.vibrant.Vibrant.join(',')})`