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(UserMediaPermissionsGuidanceOverlay): broken display

paweldomasc473178dfe95
diff --git a/css/overlay/_overlay.scss b/css/overlay/_overlay.scss
index f440b5ab2d..3152c460f8 100644
--- a/css/overlay/_overlay.scss
+++ b/css/overlay/_overlay.scss
@@ -1,48 +1,30 @@
-.overlay {
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- z-index: $overlayZ;
- background: #21B9FC; /* Old browsers */
- opacity: 0.75;
- display: block;
-}
-
-.overlay_transparent {
- background: rgba(22, 185, 252, .9);
-}
-
.overlay_container {
+ top: 0;
+ left: 0;
width: 100%;
height: 100%;
position: fixed;
z-index: $overlayZ;
+ background: rgba(22, 185, 252, .9);
}
.overlay_content {
color: #fff;
- font-weight: normal;
- font-size: 20px;
text-align: center;
width: 400px;
height: 250px;
top: 50%;
left: 50%;
- position:absolute;
+ position: absolute;
margin-top: -125px;
margin-left: -200px;
}
-
.overlay_text_small {
+ display: block;
font-size: 18px;
}
.overlay_icon {
- position: relative;
- z-index: 1013;
- float: none;
font-size: 100px;
}
diff --git a/modules/UI/gum_overlay/UserMediaPermissionsGuidanceOverlay.js b/modules/UI/gum_overlay/UserMediaPermissionsGuidanceOverlay.js
index db0d977e45..55b3bf902e 100644
--- a/modules/UI/gum_overlay/UserMediaPermissionsGuidanceOverlay.js
+++ b/modules/UI/gum_overlay/UserMediaPermissionsGuidanceOverlay.js
@@ -11,12 +11,11 @@ let $overlay;
function buildOverlayHtml(browser) {
$overlay = $(`
<div class='overlay_container'>
- <div class='overlay overlay_transparent' />
<div class='overlay_content'>
<span class="overlay_icon icon-microphone"></span>
<span class="overlay_icon icon-camera"></span>
<span data-i18n='[html]userMedia.${browser}GrantPermissions'
- class='overlay_text overlay_text_small'></span>
+ class='overlay_text_small'></span>
</div>
</div>`);