From cbac21746fdbf0bbe88e54ea17938d7500a766ea Mon Sep 17 00:00:00 2001 From: infiinte-persistence Date: Tue, 22 Dec 2020 11:40:44 +0800 Subject: [PATCH] FloatingPlayer: Fix close button not working when AutoplayCountdown is visible. ## Issue 5221: floating player won't close during autoplay countdown ## Change Change the z-index when hover to ensure it is really on top of everything. --- ui/scss/component/_content.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scss/component/_content.scss b/ui/scss/component/_content.scss index f9b01bea9..4857d7fd5 100644 --- a/ui/scss/component/_content.scss +++ b/ui/scss/component/_content.scss @@ -15,11 +15,11 @@ height: calc(var(--floating-viewer-height) + var(--floating-viewer-info-height)); overflow: hidden; left: calc(var(--spacing-l) + var(--spacing-s)); - z-index: 9999; &:hover { .content__floating-close { visibility: visible; + z-index: 9999; } } }