Merge pull request #1523 from virtuacoplenny/lenny/mute-overlay-black

fix(device-selection): show black background only when video muted
This commit is contained in:
Saúl Ibarra Corretgé 2017-04-20 15:16:53 +02:00 committed by GitHub
commit 7be8e3e1e9
1 changed files with 9 additions and 7 deletions

View File

@ -41,11 +41,7 @@
} }
.device-selection-video-container { .device-selection-video-container {
/* TOFIX: to be removed when we move out from muted preview */
background: black;
border-radius: 3px; border-radius: 3px;
/* TOFIX-END */
height: 160px;
margin-bottom: 5px; margin-bottom: 5px;
.video-input-preview { .video-input-preview {
@ -66,12 +62,18 @@
top: 50%; top: 50%;
} }
&.video-muted .video-input-preview-muted { &.video-muted {
/* TOFIX: to be removed when we move out from muted preview */
background: black;
/* TOFIX-END */
.video-input-preview-muted {
display: block; display: block;
} }
}
.video-input-preview-display { .video-input-preview-display {
height: 100%; height: auto;
overflow: hidden; overflow: hidden;
width: 100%; width: 100%;
} }