Fix tooltip alignment for last control button

Adjusts the tooltip positioning for the last button in the video.js control bar by setting 'right: 0' and 'left: auto' to ensure proper alignment.
This commit is contained in:
Yiannis Christodoulou 2025-10-06 17:38:31 +03:00
parent ae3b013188
commit c5db3720ad

View File

@ -6,6 +6,11 @@
position: relative; position: relative;
} }
.video-js .vjs-control-bar .vjs-control:last-child::after {
left: auto;
right: 0;
}
/* Universal tooltip styling for all buttons */ /* Universal tooltip styling for all buttons */
.video-js .vjs-control-bar .vjs-control::after { .video-js .vjs-control-bar .vjs-control::after {
content: attr(title); content: attr(title);