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