From c0a941be17066c35634bd252b84771dbb0fc025d Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sun, 17 Nov 2024 13:50:18 -0800 Subject: fix scrolling issue --- src/app/components/LRCPlayer.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/app/components') diff --git a/src/app/components/LRCPlayer.tsx b/src/app/components/LRCPlayer.tsx index 92b9531..684a6b7 100644 --- a/src/app/components/LRCPlayer.tsx +++ b/src/app/components/LRCPlayer.tsx @@ -49,6 +49,8 @@ const lrcStyle: CSSProperties = { flex: 1, minHeight: 0, overflow: "hidden !important", + overflowY: "auto", + scrollBehavior: "smooth", }; interface LrcPlayerProps { -- cgit v1.2.3