Remove 'playing', 'stopped' CSS classes

This commit is contained in:
0x1eef 2024-02-24 00:06:08 -03:00
parent c23cf266b9
commit 58477688b0
2 changed files with 1 additions and 17 deletions

View file

@ -46,21 +46,6 @@ body .root .content.theme {
} }
} }
ul.body.stream.stopped {
overflow-y: auto;
}
ul.body.stream.playing {
overflow-y: auto;
::-webkit-scrollbar-track:hover,
::-webkit-scrollbar-track:active,
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
background-color: #FFF;
}
}
footer { footer {
.timer { .timer {
display: flex; display: flex;

View file

@ -23,8 +23,7 @@ export function Stream({
isPaused, isPaused,
t, t,
}: Props) { }: Props) {
const className = const className = endOfStream || isPaused ? ["scroll-y"] : [];
endOfStream || isPaused ? ["stopped", "scroll-y"] : ["playing"];
const ref = useRef<HTMLUListElement>(); const ref = useRef<HTMLUListElement>();
const ul = useMemo<JSX.Element>(() => { const ul = useMemo<JSX.Element>(() => {
return ( return (