Skip to content

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

feat(virtual-background): Add placeholder on virtual background preview

Tudor D. Pop5e4753888e22
diff --git a/css/modals/virtual-background/_virtual-background.scss b/css/modals/virtual-background/_virtual-background.scss
index d6bdd01b79..a5bdf029f5 100644
--- a/css/modals/virtual-background/_virtual-background.scss
+++ b/css/modals/virtual-background/_virtual-background.scss
@@ -1,4 +1,5 @@
.virtual-background-dialog {
+ position: relative;
max-height: 300px;
color: white;
display: inline-grid;
@@ -107,6 +108,7 @@
vertical-align: middle;
line-height: 60px;
}
+
@media (min-width: 432px) and (max-width: 632px) {
font-size: 1.5vw;
.virtual-background-none, .thumbnail, .thumbnail-selected, .none-selected, .blur, .blur-selected, .slight-blur, .slight-blur-selected{
@@ -179,8 +181,20 @@
}
.video-preview-loader{
+ border-radius: 6px;
+ background-color: transparent;
+ height: 250px;
+ margin-bottom: 8px;
+ width: 572px;
position: fixed;
- left: 50%;
- top: 35%;
- transform: translate(-50%,-35%);
- }
\ No newline at end of file
+ z-index: 2;
+ @media (min-width: 432px) and (max-width: 632px) {
+ width: 340px;
+ }
+ }
+
+ .video-preview-loader svg{
+ position: absolute;
+ top: 40%;
+ left: 45%;
+ }