aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/videojs-components
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-18 09:54:40 +0200
committerChocobozzz <me@florianbigard.com>2021-08-18 09:54:40 +0200
commit5f31aaa398b83c974b8357c4e7aae66320d16271 (patch)
treef5f99880928774bb3139517c2f40be5b3deb7a7c /client/src/assets/player/videojs-components
parentf7891304f0c344e343df4271414c9d096ce7b4e4 (diff)
downloadPeerTube-5f31aaa398b83c974b8357c4e7aae66320d16271.tar.gz
PeerTube-5f31aaa398b83c974b8357c4e7aae66320d16271.tar.zst
PeerTube-5f31aaa398b83c974b8357c4e7aae66320d16271.zip
Fix player setting overflow
Diffstat (limited to 'client/src/assets/player/videojs-components')
-rw-r--r--client/src/assets/player/videojs-components/settings-menu-button.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/videojs-components/settings-menu-button.ts b/client/src/assets/player/videojs-components/settings-menu-button.ts
index 339420a89..50e25c004 100644
--- a/client/src/assets/player/videojs-components/settings-menu-button.ts
+++ b/client/src/assets/player/videojs-components/settings-menu-button.ts
@@ -188,7 +188,7 @@ class SettingsButton extends Button {
188 } 188 }
189 189
190 const offset = this.settingsButtonOptions.setup.maxHeightOffset 190 const offset = this.settingsButtonOptions.setup.maxHeightOffset
191 const maxHeight = (this.player().el() as HTMLElement).offsetHeight - offset // FIXME: typings 191 const maxHeight = (this.player().el() as HTMLElement).offsetHeight - offset
192 192
193 const panelEl = this.panel.el() as HTMLElement 193 const panelEl = this.panel.el() as HTMLElement
194 194