Fix player setting overflow

This commit is contained in:
Chocobozzz 2021-08-18 09:54:40 +02:00
parent f7891304f0
commit 5f31aaa398
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -137,7 +137,7 @@ $setting-transition-easing: ease-out;
}
> .vjs-settings-sub-menu {
width: 80px;
min-width: 80px;
.vjs-menu-item {
outline: 0;