From ee5e457db79e731918adb54cc138fe6935dc50e8 Mon Sep 17 00:00:00 2001 From: ner Date: Sat, 7 Dec 2024 15:39:56 +0200 Subject: [PATCH] fix: preview layout for small screens --- .../Preview/components/Actions/index.tsx | 128 +++++++++--------- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/components/Preview/components/Actions/index.tsx b/components/Preview/components/Actions/index.tsx index f376226..6d0be88 100644 --- a/components/Preview/components/Actions/index.tsx +++ b/components/Preview/components/Actions/index.tsx @@ -37,72 +37,72 @@ const Actions = ({ show, className, externalLink }: Props) => { return (
- - - - - - - - - {externalLink ? ( - - {copyLink} - {externalLink && ( - - )} +
+ + + - ) : ( - copyLink - )} - - + + + {externalLink ? ( + + {copyLink} + {externalLink && ( + + )} + + ) : ( + copyLink + )} +
+ -
+ showTorrentsModal({ + imdbID: show.imdb_id!, + title: show.title, + backdrop: show.backdrop, + year: new Date(show.release).getFullYear() + }); + }} + > + + Watch +
); };