Fix scrollbar bug

This commit is contained in:
Prayag Prajapati committed 2023-10-08 21:09:48 +05:30
1 parent cc8c6e187a
commit 9706ce0ed7
3 files changed
+19 -2

No files matched your search

+1 -1
View File
@@ -469,10 +469,10 @@ function App() {
</AnimatePresence>
</div>
<div
className={audioPlayerVisible ? "audio-playing" : ""}
style={{
display: "flex",
width: "100vw",
paddingBottom: audioPlayerVisible ? "8em" : "0",
transition: "padding 250ms",
}}
>
+1 -1
View File
@@ -149,7 +149,7 @@ const Hero = ({
} else if (audioTracks[0].DisplayTitle.includes("5.1")) {
return "5.1";
} else {
return "";
return "2.0";
}
};
+17
View File
@@ -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;
}