Fix margin with big resolution labels
This commit is contained in:
parent
9257243620
commit
114327d4ce
|
@ -68,7 +68,7 @@ class ResolutionMenuButton extends MenuButton {
|
||||||
}
|
}
|
||||||
|
|
||||||
buildCSSClass () {
|
buildCSSClass () {
|
||||||
return super.buildCSSClass() + ' vjs-resolution-button'
|
return 'vjs-resolution-button ' + super.buildCSSClass()
|
||||||
}
|
}
|
||||||
|
|
||||||
buildWrapperCSSClass () {
|
buildWrapperCSSClass () {
|
||||||
|
|
|
@ -169,6 +169,12 @@ $setting-transition-easing: ease-out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.vjs-resolution-button {
|
||||||
|
.vjs-menu-item-text {
|
||||||
|
@include margin-left(25px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.vjs-menu {
|
.vjs-menu {
|
||||||
width: inherit;
|
width: inherit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue