From 533faf634bd024ca7ed9bd5b26e400158a7418c5 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Sat, 22 Jun 2024 05:20:53 +0200 Subject: [PATCH] minor fixes to image viewer modal --- src/components/modals/ImageViewerModal.tsx | 10 +++++++++- src/components/modals/ModalComponents.tsx | 1 - 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/modals/ImageViewerModal.tsx b/src/components/modals/ImageViewerModal.tsx index b639c84..f1a3102 100644 --- a/src/components/modals/ImageViewerModal.tsx +++ b/src/components/modals/ImageViewerModal.tsx @@ -26,7 +26,15 @@ export function ImageViewerModal(props: Props) { const height = props.height ?? props.attachment.height ?? 0; return ( - + {props.isVideo ? (