From b2149b39cb0b7cc00972f018202c95a1b5a37976 Mon Sep 17 00:00:00 2001 From: Kentai Radiquum Date: Fri, 22 Nov 2024 02:33:48 +0500 Subject: [PATCH] fix: episode slider --- .../ReleasePlayer/ReleasePlayer.tsx | 33 +++++++++++-------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/app/components/ReleasePlayer/ReleasePlayer.tsx b/app/components/ReleasePlayer/ReleasePlayer.tsx index b1b5a63..11bfd6e 100644 --- a/app/components/ReleasePlayer/ReleasePlayer.tsx +++ b/app/components/ReleasePlayer/ReleasePlayer.tsx @@ -263,23 +263,28 @@ export const ReleasePlayer = (props: { id: number }) => { direction={"horizontal"} mousewheel={{ enabled: true, - sensitivity: 2 + sensitivity: 2, }} scrollbar={true} allowTouchMove={true} - style={{ - "--swiper-scrollbar-bottom": "0", - } as React.CSSProperties} + style={ + { + "--swiper-scrollbar-bottom": "0", + } as React.CSSProperties + } > {episodeInfo.map((episode: any) => ( - +