aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets')
-rw-r--r--client/src/assets/player/videojs-components/settings-menu-item.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/assets/player/videojs-components/settings-menu-item.ts b/client/src/assets/player/videojs-components/settings-menu-item.ts
index 85172a18c..84d394c0e 100644
--- a/client/src/assets/player/videojs-components/settings-menu-item.ts
+++ b/client/src/assets/player/videojs-components/settings-menu-item.ts
@@ -329,6 +329,8 @@ class SettingsMenuItem extends MenuItem {
329 } 329 }
330 330
331 setMargin () { 331 setMargin () {
332 if (!this.size) return
333
332 const [ width ] = this.size 334 const [ width ] = this.size
333 335
334 this.settingsSubMenuEl_.style.marginRight = `-${width}px` 336 this.settingsSubMenuEl_.style.marginRight = `-${width}px`