From d1361bd455b647bd5c759785201a43099ad69400 Mon Sep 17 00:00:00 2001 From: ner Date: Mon, 25 Mar 2024 18:18:21 +0200 Subject: [PATCH] fix: image aspect ratio in preview --- components/Movie/Preview/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/Movie/Preview/index.tsx b/components/Movie/Preview/index.tsx index 1f6c139..5ce269e 100644 --- a/components/Movie/Preview/index.tsx +++ b/components/Movie/Preview/index.tsx @@ -27,7 +27,11 @@ const Preview: FC = ({ movie, className, onClose, children, card, fit }) return (
- {card || } + {card || ( +
+ +
+ )}
{children &&
{children}
}