Fix margin with big resolution labels

pull/5992/head
Chocobozzz 2023-10-04 14:08:01 +02:00
parent 9257243620
commit 114327d4ce
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 7 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class ResolutionMenuButton extends MenuButton {
}
buildCSSClass () {
return super.buildCSSClass() + ' vjs-resolution-button'
return 'vjs-resolution-button ' + super.buildCSSClass()
}
buildWrapperCSSClass () {

View File

@ -169,6 +169,12 @@ $setting-transition-easing: ease-out;
}
}
&.vjs-resolution-button {
.vjs-menu-item-text {
@include margin-left(25px);
}
}
.vjs-menu {
width: inherit;
}