]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix player setting overflow
authorChocobozzz <me@florianbigard.com>
Wed, 18 Aug 2021 07:54:40 +0000 (09:54 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 18 Aug 2021 07:54:40 +0000 (09:54 +0200)
client/src/assets/player/videojs-components/settings-menu-button.ts
client/src/sass/player/settings-menu.scss

index 339420a899bc52cc7366bcf883da9765a5b3b9e2..50e25c0041c4a728a56e17fd65090f5aff13ca0f 100644 (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
 
index d495785b379766f3b13082801155f366418bf111..e64e05de5c1f97cb2eb43f3be9ce3ae97df7887c 100644 (file)
@@ -137,7 +137,7 @@ $setting-transition-easing: ease-out;
       }
 
       > .vjs-settings-sub-menu {
-        width: 80px;
+        min-width: 80px;
 
         .vjs-menu-item {
           outline: 0;