diff --git a/components/Movie/Card.tsx b/components/Movie/Card.tsx index 75db186..f3eb016 100644 --- a/components/Movie/Card.tsx +++ b/components/Movie/Card.tsx @@ -28,7 +28,7 @@ const Card: FC = ({ movie, onClick, fit }) => { onDoubleClick={handleToggleFavorite} onTap={onClick} className={cn( - 'w-[300px] h-[450px] shrink-0 mx-auto', + 'w-[300px] h-[450px] min-w-[300px] shrink-0 mx-auto', fit ? 'w-full h-auto xs:w-[300px] xs:h-[450px]' : undefined )} > diff --git a/components/Movie/components/Torrents/index.tsx b/components/Movie/components/Torrents/index.tsx index bb9966c..1f2339c 100644 --- a/components/Movie/components/Torrents/index.tsx +++ b/components/Movie/components/Torrents/index.tsx @@ -82,7 +82,7 @@ const Torrents: FC = ({ title, year, isOpen, onResolve }) => { hosts.split(',').forEach((host) => { const link = window.open(`http://${host}:65220/playuri?uri=${magnet}`, '_blank'); - setTimeout(() => link?.close(), 100); + setTimeout(() => link?.close(), 1000); }); };