aboutsummaryrefslogtreecommitdiffhomepage
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
parentf7891304f0c344e343df4271414c9d096ce7b4e4 (diff)
downloadPeerTube-5f31aaa398b83c974b8357c4e7aae66320d16271.tar.gz
PeerTube-5f31aaa398b83c974b8357c4e7aae66320d16271.tar.zst
PeerTube-5f31aaa398b83c974b8357c4e7aae66320d16271.zip
Fix player setting overflow
-rw-r--r--client/src/assets/player/videojs-components/settings-menu-button.ts2
-rw-r--r--client/src/sass/player/settings-menu.scss2
2 files changed, 2 insertions, 2 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
diff --git a/client/src/sass/player/settings-menu.scss b/client/src/sass/player/settings-menu.scss
index d495785b3..e64e05de5 100644
--- a/client/src/sass/player/settings-menu.scss
+++ b/client/src/sass/player/settings-menu.scss
@@ -137,7 +137,7 @@ $setting-transition-easing: ease-out;
137 } 137 }
138 138
139 > .vjs-settings-sub-menu { 139 > .vjs-settings-sub-menu {
140 width: 80px; 140 min-width: 80px;
141 141
142 .vjs-menu-item { 142 .vjs-menu-item {
143 outline: 0; 143 outline: 0;