From 4b87bec823996d9db1eff2699f8844d4cd655235 Mon Sep 17 00:00:00 2001 From: ner Date: Tue, 22 Oct 2024 11:17:16 +0300 Subject: [PATCH] fix: 4x3 videos --- .../Torrents/components/Player/Player.tsx | 8 +++---- styles/index.css | 23 ------------------- 2 files changed, 4 insertions(+), 27 deletions(-) diff --git a/components/Preview/components/Torrents/components/Player/Player.tsx b/components/Preview/components/Torrents/components/Player/Player.tsx index 0663acc..7b1bfb9 100644 --- a/components/Preview/components/Torrents/components/Player/Player.tsx +++ b/components/Preview/components/Torrents/components/Player/Player.tsx @@ -53,11 +53,11 @@ const Player: FC = ({ videos, subtitles, magnet, onReady }) => { storage='movie-advisor' ref={player} src={(source as VideoSrc) || []} - className='size-full' + className='relative size-full select-none' > - - {subtitles.map((track) => ( - + + {subtitles.map((track, index) => ( + ))}