From 147ebde76b2163259a38eee6082017e8fe2b9a6b Mon Sep 17 00:00:00 2001 From: neko <97211491+0x6e656b6f@users.noreply.github.com> Date: Mon, 21 Feb 2022 21:11:42 +0700 Subject: [PATCH] Fix thumbnail being obstructed by time tooltip (#2078) * Fix thumbnail being obstructed by time tooltip * Update src/renderer/videoJS.css Co-authored-by: PikachuEXE Co-authored-by: PikachuEXE --- src/renderer/videoJS.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderer/videoJS.css b/src/renderer/videoJS.css index 66227ed8..9b1f59ad 100644 --- a/src/renderer/videoJS.css +++ b/src/renderer/videoJS.css @@ -1023,7 +1023,7 @@ body.vjs-full-window { padding: 6px 8px 8px 8px; pointer-events: none; position: absolute; - top: -3.4em; + top: -2.7em; visibility: hidden; z-index: 2; } @@ -2136,7 +2136,8 @@ video::-webkit-media-text-track-display { .video-js .vjs-vtt-thumbnail-display { position: absolute; transition: transform .1s, opacity .2s; - bottom: 20px; + /* `bottom` was 20px, to avoid obstruction by time tooltip updated to current value */ + bottom: 56px; pointer-events: none; box-shadow: 0 0 7px rgba(0,0,0,.6); z-index: 3;