From 1a7b03126f819fe3e732d94e7c9cddde1cc4c8f1 Mon Sep 17 00:00:00 2001 From: Ivan Sein Date: Mon, 29 Jan 2018 18:36:04 +0100 Subject: [PATCH] Fix max video height to 200px when more than 2 people in a call. Signed-off-by: Ivan Sein --- css/style.scss | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/css/style.scss b/css/style.scss index 21369d1c4..25b0daa3f 100644 --- a/css/style.scss +++ b/css/style.scss @@ -244,16 +244,11 @@ video { filter: none; } -#videos .videoContainer video { - border-top-left-radius: 3px; - border-top-right-radius: 3px; - background-color: #000; +#videos .videoContainer:not(.promoted) video { + max-height: 200px; + background-color: transparent; } -#videos .videoContainer.promoted video { - border-top-left-radius: 0; - border-top-right-radius: 0; -} -#videos .videoContainer video, + #videos .videoContainer .avatar { box-shadow: 0 0 15px rgba(0, 0, 0, .5); } @@ -386,6 +381,7 @@ video { .participants-1 .videoView video, .participants-2 .videoView video { position: absolute; + max-height: 100% !important; bottom: 0; border-top-right-radius: 3px; }