mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Fix minor seek bar tooltip issues
This commit is contained in:
@@ -144,6 +144,7 @@
|
||||
|
||||
return {
|
||||
destroy() {
|
||||
seekHoverPosition = null;
|
||||
node.removeEventListener("mousemove", onMouseMove);
|
||||
node.removeEventListener("mouseleave", onMouseLeave);
|
||||
}
|
||||
|
||||
@@ -212,16 +212,16 @@ body {
|
||||
border-radius: 2px;
|
||||
display: flex;
|
||||
grid-area: seek-bar;
|
||||
height: 20px;
|
||||
justify-self: start;
|
||||
left: var(--seek-hover-position);
|
||||
padding: 0 5px;
|
||||
padding: 2px 5px;
|
||||
padding-bottom: 3px;
|
||||
pointer-events: none;
|
||||
position: relative;
|
||||
transform: translate(
|
||||
-50%,
|
||||
calc(
|
||||
-60% - (var(--slider-track-height) / 2) - var(--tooltip-arrow-height)
|
||||
-50% - 1px - (var(--slider-track-height) / 2) - var(--tooltip-arrow-height)
|
||||
)
|
||||
);
|
||||
user-select: none;
|
||||
@@ -340,11 +340,13 @@ body {
|
||||
}
|
||||
|
||||
.slider {
|
||||
background: initial;
|
||||
appearance: none;
|
||||
border: initial;
|
||||
margin: initial;
|
||||
outline: none;
|
||||
padding: initial;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.slider:not(:focus-visible) {
|
||||
|
||||
Reference in New Issue
Block a user