mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 11:42:05 +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 !== null ?
|
||||||
<Error
|
<Error
|
||||||
className={styles['layer']}
|
className={classnames(styles['layer'], styles['error-layer'])}
|
||||||
stream={video.state.stream}
|
stream={video.state.stream}
|
||||||
{...error}
|
{...error}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,9 @@ html:not(.active-slider-within) {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
|
|
||||||
&.buffering-layer {
|
&.buffering-layer, &.error-layer {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.background-layer {
|
&.background-layer {
|
||||||
|
|
@ -49,6 +50,7 @@ html:not(.active-slider-within) {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue