aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/assets/player/shared/settings/settings-menu-button.ts2
-rw-r--r--client/src/sass/player/settings-menu.scss14
2 files changed, 8 insertions, 8 deletions
diff --git a/client/src/assets/player/shared/settings/settings-menu-button.ts b/client/src/assets/player/shared/settings/settings-menu-button.ts
index 9499a43eb..9b28c94db 100644
--- a/client/src/assets/player/shared/settings/settings-menu-button.ts
+++ b/client/src/assets/player/shared/settings/settings-menu-button.ts
@@ -198,7 +198,7 @@ class SettingsButton extends Button {
198 198
199 if (height > maxHeight) { 199 if (height > maxHeight) {
200 height = maxHeight 200 height = maxHeight
201 width += 17 201 width += 15
202 panelEl.style.maxHeight = `${height}px` 202 panelEl.style.maxHeight = `${height}px`
203 } else if (panelEl.style.maxHeight !== '') { 203 } else if (panelEl.style.maxHeight !== '') {
204 panelEl.style.maxHeight = '' 204 panelEl.style.maxHeight = ''
diff --git a/client/src/sass/player/settings-menu.scss b/client/src/sass/player/settings-menu.scss
index cc3cdedb6..2a1303287 100644
--- a/client/src/sass/player/settings-menu.scss
+++ b/client/src/sass/player/settings-menu.scss
@@ -18,12 +18,13 @@ $setting-transition-easing: ease-out;
18 .vjs-settings-dialog { 18 .vjs-settings-dialog {
19 position: absolute; 19 position: absolute;
20 right: .5em; 20 right: .5em;
21 bottom: 3.5em; 21 bottom: 4em;
22 color: pvar(--embedForegroundColor); 22 color: pvar(--embedForegroundColor);
23 opacity: $primary-foreground-opacity; 23 opacity: $primary-foreground-opacity;
24 margin: 0 auto; 24 margin: 0 auto;
25 font-size: $font-size !important; 25 font-size: $font-size !important;
26 z-index: 100; 26 z-index: 100;
27 border-radius: 10px;
27 28
28 width: auto; 29 width: auto;
29 overflow: hidden; 30 overflow: hidden;
@@ -54,11 +55,9 @@ $setting-transition-easing: ease-out;
54 55
55 .vjs-settings-panel { 56 .vjs-settings-panel {
56 position: absolute; 57 position: absolute;
57 bottom: 0;
58 right: 0; 58 right: 0;
59 overflow-y: auto; 59 overflow-y: auto;
60 overflow-x: hidden; 60 overflow-x: hidden;
61 border-radius: 1px;
62 } 61 }
63 62
64 .vjs-settings-panel-child { 63 .vjs-settings-panel-child {
@@ -118,10 +117,10 @@ $setting-transition-easing: ease-out;
118 outline: 0; 117 outline: 0;
119 font-weight: $font-semibold; 118 font-weight: $font-semibold;
120 text-align: end; 119 text-align: end;
121 padding: 5px 8px; 120 padding: 8px 15px;
122 121
123 &.vjs-back-button { 122 &.vjs-back-button {
124 padding: 12px 8px; 123 padding: 12px 15px;
125 margin-bottom: 5px; 124 margin-bottom: 5px;
126 border-bottom: 1px solid #808080; 125 border-bottom: 1px solid #808080;
127 text-align: start; 126 text-align: start;
@@ -146,7 +145,7 @@ $setting-transition-easing: ease-out;
146 @include icon(15px); 145 @include icon(15px);
147 146
148 position: absolute; 147 position: absolute;
149 left: 8px; 148 left: 15px;
150 content: ' '; 149 content: ' ';
151 margin-top: 1px; 150 margin-top: 1px;
152 background-image: url('#{$assets-path}/player/images/tick-white.svg'); 151 background-image: url('#{$assets-path}/player/images/tick-white.svg');
@@ -157,13 +156,14 @@ $setting-transition-easing: ease-out;
157 // Special captions case 156 // Special captions case
158 // Bigger caption button 157 // Bigger caption button
159 &.vjs-captions-button { 158 &.vjs-captions-button {
160 width: 200px; 159 min-width: 200px;
161 160
162 .vjs-menu-item { 161 .vjs-menu-item {
163 text-align: start; 162 text-align: start;
164 163
165 .vjs-menu-item-text { 164 .vjs-menu-item-text {
166 @include margin-left(25px); 165 @include margin-left(25px);
166
167 text-transform: capitalize; 167 text-transform: capitalize;
168 } 168 }
169 } 169 }