From 90b4e44bbeebfe57fb476ca6a77d731df0016acb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Tue, 2 Aug 2022 16:09:53 +0200 Subject: [PATCH] Fix screen-sharing and uncomment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/video-grid/VideoTile.module.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/video-grid/VideoTile.module.css b/src/video-grid/VideoTile.module.css index 7d1790a..11cf74c 100644 --- a/src/video-grid/VideoTile.module.css +++ b/src/video-grid/VideoTile.module.css @@ -80,7 +80,11 @@ } .videoTile:not(.isLocal):not(:hover) .toolbar { - //display: none; + display: none; +} + +.videoTile:not(.isLocal):hover .presenterLabel { + top: calc(42px + 20px); /* toolbar + margin */ } .button { @@ -129,9 +133,7 @@ .presenterLabel { position: absolute; - top: calc( - 16px + 20px + 16px + 20px - ); /* top padding + button size + buttom padding + top padding */ + top: 20px; left: 50%; transform: translateX(-50%); background-color: #17191c;