From 0e5231ba437117e63d5365fe32d21424427d292c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Mon, 1 Aug 2022 19:29:28 +0200 Subject: [PATCH] Make buttons only visible on 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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/video-grid/VideoTile.module.css b/src/video-grid/VideoTile.module.css index 6a92468a..0a484d28 100644 --- a/src/video-grid/VideoTile.module.css +++ b/src/video-grid/VideoTile.module.css @@ -63,6 +63,14 @@ background-color: var(--backgrouund-85); } +.button { + display: none; +} + +.videoTile:hover .button { + display: initial; +} + .button button:hover svg * { fill: var( --primary-content