Skip to content

Commit 147ebde

Browse files
Fix thumbnail being obstructed by time tooltip (#2078)
* Fix thumbnail being obstructed by time tooltip * Update src/renderer/videoJS.css Co-authored-by: PikachuEXE <pikachuexe@gmail.com> Co-authored-by: PikachuEXE <pikachuexe@gmail.com>
1 parent 4cd3376 commit 147ebde

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/renderer/videoJS.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ body.vjs-full-window {
10231023
padding: 6px 8px 8px 8px;
10241024
pointer-events: none;
10251025
position: absolute;
1026-
top: -3.4em;
1026+
top: -2.7em;
10271027
visibility: hidden;
10281028
z-index: 2;
10291029
}
@@ -2136,7 +2136,8 @@ video::-webkit-media-text-track-display {
21362136
.video-js .vjs-vtt-thumbnail-display {
21372137
position: absolute;
21382138
transition: transform .1s, opacity .2s;
2139-
bottom: 20px;
2139+
/* `bottom` was 20px, to avoid obstruction by time tooltip updated to current value */
2140+
bottom: 56px;
21402141
pointer-events: none;
21412142
box-shadow: 0 0 7px rgba(0,0,0,.6);
21422143
z-index: 3;

0 commit comments

Comments
 (0)