mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
refactor: remove z-index + fix delay
This commit is contained in:
parent
b1020724d9
commit
1e5e87ca38
2 changed files with 1 additions and 4 deletions
|
|
@ -611,7 +611,7 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
onDoubleClick={onVideoDoubleClick}
|
||||
/>
|
||||
{
|
||||
video.state.buffering ?
|
||||
(video.state.buffering || !video.state.loaded) && !error ?
|
||||
<BufferingLoader className={classnames(styles['layer'], styles['buffering-layer'])} logo={player?.metaItem?.content?.logo} />
|
||||
:
|
||||
null
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ html:not(.active-slider-within) {
|
|||
z-index: 0;
|
||||
|
||||
&.buffering-layer, &.error-layer {
|
||||
z-index: 1;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
|
|
@ -58,7 +57,6 @@ html:not(.active-slider-within) {
|
|||
bottom: initial;
|
||||
background: transparent;
|
||||
overflow: visible;
|
||||
z-index: 2;
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
|
|
@ -88,7 +86,6 @@ html:not(.active-slider-within) {
|
|||
&.control-bar-layer {
|
||||
top: initial;
|
||||
overflow: visible;
|
||||
z-index: 2;
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
|
|
|
|||
Loading…
Reference in a new issue