Browse Source

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

fix(device-selection): show black background only when video muted
j8
Saúl Ibarra Corretgé 8 years ago
parent
commit
7be8e3e1e9
1 changed files with 9 additions and 7 deletions
  1. 9
    7
      css/modals/device-selection/_device-selection.scss

+ 9
- 7
css/modals/device-selection/_device-selection.scss View File

41
     }
41
     }
42
 
42
 
43
     .device-selection-video-container {
43
     .device-selection-video-container {
44
-        /* TOFIX: to be removed when we move out from muted preview */
45
-        background: black;
46
         border-radius: 3px;
44
         border-radius: 3px;
47
-        /* TOFIX-END */
48
-        height: 160px;
49
         margin-bottom: 5px;
45
         margin-bottom: 5px;
50
 
46
 
51
         .video-input-preview {
47
         .video-input-preview {
66
                 top: 50%;
62
                 top: 50%;
67
             }
63
             }
68
 
64
 
69
-            &.video-muted .video-input-preview-muted {
70
-                display: block;
65
+            &.video-muted {
66
+                /* TOFIX: to be removed when we move out from muted preview */
67
+                background: black;
68
+                /* TOFIX-END */
69
+
70
+                .video-input-preview-muted {
71
+                    display: block;
72
+                }
71
             }
73
             }
72
 
74
 
73
             .video-input-preview-display {
75
             .video-input-preview-display {
74
-                height: 100%;
76
+                height: auto;
75
                 overflow: hidden;
77
                 overflow: hidden;
76
                 width: 100%;
78
                 width: 100%;
77
             }
79
             }

Loading…
Cancel
Save