From 531db48c25e53c3f14debcbc67a6a25649378c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Mon, 8 Aug 2022 14:22:49 +0200 Subject: [PATCH] Show toolbar only on toolbar hover 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 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/video-grid/VideoTile.module.css b/src/video-grid/VideoTile.module.css index 697e87f1..4a594bd2 100644 --- a/src/video-grid/VideoTile.module.css +++ b/src/video-grid/VideoTile.module.css @@ -84,12 +84,11 @@ z-index: 1; } -.videoTile:not(:hover) .toolbar { - display: none; +.toolbar:not(:hover) { + opacity: 0; } -.videoTile.screenshare:hover .presenterLabel, -.videoTile:not(.isLocal):hover .presenterLabel { +.toolbar:hover + .presenterLabel { top: calc(42px + 20px); /* toolbar + margin */ }