Avoid text jump when the stream is paused
When the scrollbar goes from display none to being visible, the text beside it can jump in-place. This change avoids that by making the scrollbar invisible.
This commit is contained in:
parent
8e364f6a43
commit
ac9992ece8
1 changed files with 6 additions and 2 deletions
|
@ -50,8 +50,12 @@ body .root .content.theme {
|
|||
|
||||
ul.body.stream.playing {
|
||||
overflow-y: auto;
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
::-webkit-scrollbar-track:hover,
|
||||
::-webkit-scrollbar-track:active,
|
||||
::-webkit-scrollbar-thumb,
|
||||
::-webkit-scrollbar-thumb:hover,
|
||||
::-webkit-scrollbar-thumb:active {
|
||||
background-color: #FFF;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue