diff --git a/ts/components/Lightbox.tsx b/ts/components/Lightbox.tsx index 23ca8a6b8e8c..73a8ebf7ecab 100644 --- a/ts/components/Lightbox.tsx +++ b/ts/components/Lightbox.tsx @@ -45,14 +45,7 @@ const styles = { display: 'inline-flex', justifyContent: 'center', } as React.CSSProperties, - image: { - flexGrow: 1, - flexShrink: 0, - maxWidth: '100%', - maxHeight: '100%', - objectFit: 'contain', - } as React.CSSProperties, - video: { + object: { flexGrow: 1, flexShrink: 0, maxWidth: '100%', @@ -130,7 +123,7 @@ const Icon = ({ }) => (