From 9706ce0ed7a73a476e63ba5f76d412aa3f26dcc8 Mon Sep 17 00:00:00 2001 From: Prayag Prajapati Date: Sun, 8 Oct 2023 21:09:48 +0530 Subject: [PATCH] Fix scrollbar bug --- src/App.jsx | 2 +- src/components/layouts/item/hero.jsx | 2 +- src/styles/global.scss | 17 +++++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 7368fed..a6cabb0 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -469,10 +469,10 @@ function App() {
diff --git a/src/components/layouts/item/hero.jsx b/src/components/layouts/item/hero.jsx index 976af9e..d7c557f 100644 --- a/src/components/layouts/item/hero.jsx +++ b/src/components/layouts/item/hero.jsx @@ -149,7 +149,7 @@ const Hero = ({ } else if (audioTracks[0].DisplayTitle.includes("5.1")) { return "5.1"; } else { - return ""; + return "2.0"; } }; diff --git a/src/styles/global.scss b/src/styles/global.scss index dff6250..2e9e55f 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -144,3 +144,20 @@ h1 { font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 25, "opsz" 32; font-size: 1em !important; } + +.audio-playing .scrollY { + padding-bottom: 9em !important; +} + +.audio-playing .scrollY.library { + padding-bottom: 0 !important; +} + +.audio-playing .library-items { + padding-bottom: 9em !important; +} + +.library-items, +.scrollY { + transition: all $transition-time-default !important; +}