Remove 'playing', 'stopped' CSS classes
This commit is contained in:
parent
c23cf266b9
commit
58477688b0
2 changed files with 1 additions and 17 deletions
|
@ -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 {
|
||||
.timer {
|
||||
display: flex;
|
||||
|
|
|
@ -23,8 +23,7 @@ export function Stream({
|
|||
isPaused,
|
||||
t,
|
||||
}: Props) {
|
||||
const className =
|
||||
endOfStream || isPaused ? ["stopped", "scroll-y"] : ["playing"];
|
||||
const className = endOfStream || isPaused ? ["scroll-y"] : [];
|
||||
const ref = useRef<HTMLUListElement>();
|
||||
const ul = useMemo<JSX.Element>(() => {
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue