Fix player setting overflow
This commit is contained in:
parent
f7891304f0
commit
5f31aaa398
|
@ -188,7 +188,7 @@ class SettingsButton extends Button {
|
|||
}
|
||||
|
||||
const offset = this.settingsButtonOptions.setup.maxHeightOffset
|
||||
const maxHeight = (this.player().el() as HTMLElement).offsetHeight - offset // FIXME: typings
|
||||
const maxHeight = (this.player().el() as HTMLElement).offsetHeight - offset
|
||||
|
||||
const panelEl = this.panel.el() as HTMLElement
|
||||
|
||||
|
|
|
@ -137,7 +137,7 @@ $setting-transition-easing: ease-out;
|
|||
}
|
||||
|
||||
> .vjs-settings-sub-menu {
|
||||
width: 80px;
|
||||
min-width: 80px;
|
||||
|
||||
.vjs-menu-item {
|
||||
outline: 0;
|
||||
|
|
Loading…
Reference in New Issue