mirror of https://github.com/Chocobozzz/PeerTube
Fix player setting overflow
parent
f7891304f0
commit
5f31aaa398
|
@ -188,7 +188,7 @@ class SettingsButton extends Button {
|
||||||
}
|
}
|
||||||
|
|
||||||
const offset = this.settingsButtonOptions.setup.maxHeightOffset
|
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
|
const panelEl = this.panel.el() as HTMLElement
|
||||||
|
|
||||||
|
|
|
@ -137,7 +137,7 @@ $setting-transition-easing: ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .vjs-settings-sub-menu {
|
> .vjs-settings-sub-menu {
|
||||||
width: 80px;
|
min-width: 80px;
|
||||||
|
|
||||||
.vjs-menu-item {
|
.vjs-menu-item {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
|
|
Loading…
Reference in New Issue