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
611582c93d
commit
7421f041e6
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