Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(device-selection): show black background only when video muted

Leonard Kim1045cb56fe9f
diff --git a/css/modals/device-selection/_device-selection.scss b/css/modals/device-selection/_device-selection.scss
index 0c87cc2f00..d5efd75416 100644
--- a/css/modals/device-selection/_device-selection.scss
+++ b/css/modals/device-selection/_device-selection.scss
@@ -41,11 +41,7 @@
}
.device-selection-video-container {
- /* TOFIX: to be removed when we move out from muted preview */
- background: black;
border-radius: 3px;
- /* TOFIX-END */
- height: 160px;
margin-bottom: 5px;
.video-input-preview {
@@ -66,12 +62,18 @@
top: 50%;
}
- &.video-muted .video-input-preview-muted {
- display: block;
+ &.video-muted {
+ /* TOFIX: to be removed when we move out from muted preview */
+ background: black;
+ /* TOFIX-END */
+
+ .video-input-preview-muted {
+ display: block;
+ }
}
.video-input-preview-display {
- height: 100%;
+ height: auto;
overflow: hidden;
width: 100%;
}