diff --git a/src/assets/css/index.css b/src/assets/css/index.css index 3d6dd5cf..d411a88d 100644 --- a/src/assets/css/index.css +++ b/src/assets/css/index.css @@ -10,14 +10,6 @@ body { font-size: 1.0248em; } -/* Disable scroll in player (PWA improvement) */ -html.no-scroll, -body.no-scroll { - overflow: hidden !important; - height: 100% !important; - touch-action: none !important; -} - html[data-full], html[data-full] body { overscroll-behavior-y: none; diff --git a/src/pages/PlayerView.tsx b/src/pages/PlayerView.tsx index 0656d5c3..5282d9b3 100644 --- a/src/pages/PlayerView.tsx +++ b/src/pages/PlayerView.tsx @@ -54,13 +54,6 @@ export function RealPlayerView() { }); useEffect(() => { reset(); - document.documentElement.classList.add("no-scroll"); - document.body.classList.add("no-scroll"); - - return () => { - document.documentElement.classList.remove("no-scroll"); - document.body.classList.remove("no-scroll"); - }; }, [paramsData, reset]); const metaChange = useCallback(