From dacb161a64004b00cdd878ed6e4453a88c3edb9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Tue, 27 Apr 2021 12:03:01 +0200 Subject: [PATCH] Fix the look of video feeds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- res/css/views/voip/_VideoFeed.scss | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/res/css/views/voip/_VideoFeed.scss b/res/css/views/voip/_VideoFeed.scss index 9307a372e1..7d85ac264e 100644 --- a/res/css/views/voip/_VideoFeed.scss +++ b/res/css/views/voip/_VideoFeed.scss @@ -22,31 +22,28 @@ limitations under the License. .mx_VideoFeed_remote { - flex: 1; + width: 100%; + height: 100%; display: flex; justify-content: center; align-items: center; - .mx_VideoFeed_video { + &.mx_VideoFeed_video { background-color: #000; - width: 100%; - height: 100%; } } .mx_VideoFeed_local { - width: 25%; - height: 25%; + max-width: 25%; + max-height: 25%; position: absolute; right: 10px; top: 10px; z-index: 100; border-radius: 4px; - .mx_VideoFeed_video { + &.mx_VideoFeed_video { background-color: transparent; - width: 100%; - height: 100%; } }