row height limit

This commit is contained in:
Chuck Dries 2022-06-22 01:17:56 -07:00
parent f909c03aee
commit e1825181b3
No known key found for this signature in database
GPG Key ID: A00B7AEAE1DC5BE6

View File

@ -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(',')})`