refactor: lower img opac. to be sure err visible

This commit is contained in:
Timothy Z. 2024-05-16 17:41:02 +03:00
parent 363107de68
commit b1020724d9
2 changed files with 4 additions and 2 deletions

View file

@ -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}
/>

View file

@ -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;
}
}