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.
This commit is contained in:
infiinte-persistence
2020-12-22 11:40:44 +08:00
committed by Sean Yesmunt
parent e677fa21d5
commit cbac21746f

View File

@@ -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;
}
}
}