Skip to content

Commit

Permalink
Move captions above controls when user is active
Browse files Browse the repository at this point in the history
  • Loading branch information
Dananji committed Oct 15, 2024
1 parent 5d15ca7 commit 9ff6209
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@
border-bottom: 0.35rem ridge $primaryGreen !important;
}

/* display text track cues above the controls when they are visible */
.video-js.vjs-user-active .vjs-text-track-display .vjs-text-track-cue {
inset: 18.75em 0 !important;
transform: translateY(-100%);
}

/** End - Overrides for VideoJS related styling **/

// Webkit override for scroll bars for always-on display in Chrome and Safari
Expand Down

0 comments on commit 9ff6209

Please sign in to comment.