From c5db3720ad8b3c74708932351c47d6b8f6ffc7a9 Mon Sep 17 00:00:00 2001 From: Yiannis Christodoulou Date: Mon, 6 Oct 2025 17:38:31 +0300 Subject: [PATCH] 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. --- .../video-js/src/components/controls/ButtonTooltips.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend-tools/video-js/src/components/controls/ButtonTooltips.css b/frontend-tools/video-js/src/components/controls/ButtonTooltips.css index a666588b..58da5d82 100644 --- a/frontend-tools/video-js/src/components/controls/ButtonTooltips.css +++ b/frontend-tools/video-js/src/components/controls/ButtonTooltips.css @@ -6,6 +6,11 @@ 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);