From 7a7d58e680e111a2e304ea81c2a3fed123c603e2 Mon Sep 17 00:00:00 2001 From: Yiannis Christodoulou Date: Fri, 10 Oct 2025 01:59:18 +0300 Subject: [PATCH] Set width for NextVideoButton in video controls Added an explicit width of 2.5em to the NextVideoButton to ensure consistent sizing in the video player controls. --- .../video-js/src/components/controls/NextVideoButton.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend-tools/video-js/src/components/controls/NextVideoButton.js b/frontend-tools/video-js/src/components/controls/NextVideoButton.js index 2accb05c..28f40b54 100644 --- a/frontend-tools/video-js/src/components/controls/NextVideoButton.js +++ b/frontend-tools/video-js/src/components/controls/NextVideoButton.js @@ -29,6 +29,7 @@ class NextVideoButton extends Button { 'aria-label': 'Next Video', 'aria-disabled': 'false', }); + button.style.width = '2.5em'; // Create the icon placeholder span (Video.js standard structure) const iconPlaceholder = videojs.dom.createEl('span', {