fix: Adjust subtitle position when controls are visible

This commit is contained in:
Yiannis Christodoulou 2025-10-17 11:31:39 +03:00
parent 40d13e8bd0
commit 55c701e055

View File

@ -37,7 +37,7 @@ button {
margin-bottom: 2em; /* Adjust this value to move subtitles higher when controls are visible */ margin-bottom: 2em; /* Adjust this value to move subtitles higher when controls are visible */
} }
/* When controls are HIDDEN (user is inactive), use default positioning */ /* When controls are HIDDEN (user is inactive), use default positioning */
.video-js.vjs-user-inactive .vjs-text-track-display { .video-js.vjs-user-inactive .vjs-text-track-display {
margin-bottom: 0.5em; /* Smaller margin when controls are hidden */ margin-bottom: 0.5em; /* Smaller margin when controls are hidden */
} }