mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-09 08:58:53 -05:00
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.
This commit is contained in:
parent
73a89c72df
commit
7a7d58e680
@ -29,6 +29,7 @@ class NextVideoButton extends Button {
|
|||||||
'aria-label': 'Next Video',
|
'aria-label': 'Next Video',
|
||||||
'aria-disabled': 'false',
|
'aria-disabled': 'false',
|
||||||
});
|
});
|
||||||
|
button.style.width = '2.5em';
|
||||||
|
|
||||||
// Create the icon placeholder span (Video.js standard structure)
|
// Create the icon placeholder span (Video.js standard structure)
|
||||||
const iconPlaceholder = videojs.dom.createEl('span', {
|
const iconPlaceholder = videojs.dom.createEl('span', {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user