Fix scrollbar bug
This commit is contained in:
3 files changed
+19
-2
No files matched your search
+1
-1
@@ -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",
|
||||
}}
|
||||
>
|
||||
|
||||
@@ -149,7 +149,7 @@ const Hero = ({
|
||||
} else if (audioTracks[0].DisplayTitle.includes("5.1")) {
|
||||
return "5.1";
|
||||
} else {
|
||||
return "";
|
||||
return "2.0";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user