From c69f8f8b08763773cb5d5faafdca62f6714a276c Mon Sep 17 00:00:00 2001 From: Julien9969 Date: Fri, 2 Aug 2024 18:55:47 +0200 Subject: [PATCH] try fix hover --- CSS/chapters-on-player.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CSS/chapters-on-player.css b/CSS/chapters-on-player.css index 97ac1ff..0c991b4 100644 --- a/CSS/chapters-on-player.css +++ b/CSS/chapters-on-player.css @@ -12,10 +12,12 @@ .sliderMarker.watched { background-color: transparent !important; /* Initially invisible */ - transition: background-color 0.3s ease; /* Smooth transition */ + transition: background-color 0.3s ease !important; /* Smooth transition */ + z-index: 10 !important; /* Higher z-index to be on top */ } .sliderMarker.watched:hover { background-color: #00a4dc !important; /* Visible on hover */ - transform: scale(2.05); + transform: scale(2.05) !important; + z-index: 11 !important; /* Ensure it stays on top when hovered */ } \ No newline at end of file