mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
refactor: lower img opac. to be sure err visible
This commit is contained in:
parent
363107de68
commit
b1020724d9
2 changed files with 4 additions and 2 deletions
|
|
@ -627,7 +627,7 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
{
|
||||
error !== null ?
|
||||
<Error
|
||||
className={styles['layer']}
|
||||
className={classnames(styles['layer'], styles['error-layer'])}
|
||||
stream={video.state.stream}
|
||||
{...error}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -40,8 +40,9 @@ html:not(.active-slider-within) {
|
|||
bottom: 0;
|
||||
z-index: 0;
|
||||
|
||||
&.buffering-layer {
|
||||
&.buffering-layer, &.error-layer {
|
||||
z-index: 1;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
&.background-layer {
|
||||
|
|
@ -49,6 +50,7 @@ html:not(.active-slider-within) {
|
|||
width: 100vw;
|
||||
height: 100vh;
|
||||
object-fit: cover;
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue