From c6bc32870df6230adc32d956e248fb6b318c6a7f Mon Sep 17 00:00:00 2001 From: viktorstrate Date: Sun, 23 Feb 2020 15:51:50 +0100 Subject: [PATCH] Fix image resizing on load --- ui/src/components/photoGallery/Photo.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/components/photoGallery/Photo.js b/ui/src/components/photoGallery/Photo.js index ea95665..0162092 100644 --- a/ui/src/components/photoGallery/Photo.js +++ b/ui/src/components/photoGallery/Photo.js @@ -7,6 +7,7 @@ import ProtectedImage from './ProtectedImage' const PhotoContainer = styled.div` flex-grow: 1; + flex-basis: 0; height: 200px; margin: 4px; background-color: #eee;