diff --git a/src/features/ui/components/image-loader.tsx b/src/features/ui/components/image-loader.tsx index 5abd00dde..2635b106c 100644 --- a/src/features/ui/components/image-loader.tsx +++ b/src/features/ui/components/image-loader.tsx @@ -135,13 +135,13 @@ class ImageLoader extends PureComponent { const { alt, src, width, height, onClick } = this.props; const { loading } = this.state; - const className = 'relative h-[80vh] flex items-center justify-center flex-col'; + const className = 'relative h-screen flex items-center justify-center flex-col'; return (
{loading ? ( = (props) => { } justifyContent='between' > - - - - + + - {status && ( + setIsFullScreen(!isFullScreen)} + onClick={handleDownload} /> - )} + + {status && ( + setIsFullScreen(!isFullScreen)} + /> + )} + - - {/* Height based on height of top/bottom bars */} -
- {hasMultipleImages && ( -
- +
+ )} + +
+ - - + {content} +
- )} -
- - {content} - + {hasMultipleImages && ( +
+ +
+ )}
- {hasMultipleImages && ( -
- -
+ {actualStatus && ( + + + )} -
- - {actualStatus && ( - - - - )} + {actualStatus && ( diff --git a/src/styles/tailwind.css b/src/styles/tailwind.css index e9e656a9b..c83ce2a4a 100644 --- a/src/styles/tailwind.css +++ b/src/styles/tailwind.css @@ -39,8 +39,6 @@ @layer utilities { .media-modal * { img { - max-height: 80vh; - width: 100%; object-fit: contain; }