diff --git a/ts/components/Lightbox.tsx b/ts/components/Lightbox.tsx index 1814c8f26..1b0d3d6f6 100644 --- a/ts/components/Lightbox.tsx +++ b/ts/components/Lightbox.tsx @@ -78,7 +78,7 @@ const styles = { } as React.CSSProperties, object: { flexGrow: 1, - flexShrink: 0, + flexShrink: 1, maxWidth: '100%', maxHeight: '100%', objectFit: 'contain',