Adjust tooltip positioning for settings button

Updated the CSS for the video-js settings button tooltip to align it to the right and apply a horizontal transform. Also removed commented-out code for last-child control tooltip positioning.
This commit is contained in:
Yiannis Christodoulou
2025-10-06 17:55:00 +03:00
parent 1473c2a057
commit 9a86398398
@@ -6,11 +6,6 @@
position: relative;
}
/* .video-js .vjs-control-bar .vjs-control:last-child::after {
left: auto;
right: 0;
}
*/
/* Universal tooltip styling for all buttons */
.video-js .vjs-control-bar .vjs-control::after {
content: attr(title);
@@ -89,6 +84,9 @@
.video-js .vjs-settings-button::after {
content: attr(title);
left: auto !important;
right: 0 !important;
transform: translateX(-10px) !important;
}
.video-js .vjs-remaining-time::after {