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 {
|
footer {
|
||||||
.timer {
|
.timer {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -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 (
|
||||||
|
|
Loading…
Reference in a new issue