aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss9
-rw-r--r--client/src/app/shared/shared-user-settings/user-video-settings.component.scss4
-rw-r--r--client/src/sass/include/_mixins.scss11
3 files changed, 7 insertions, 17 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss
index 4c64bd2e0..665247368 100644
--- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss
+++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss
@@ -42,12 +42,11 @@ input[type=checkbox] {
42 @include peertube-select-container($form-base-input-width); 42 @include peertube-select-container($form-base-input-width);
43} 43}
44 44
45ng-select { 45ng-select,
46 @include ng-select($form-base-input-width);
47}
48
49my-select-checkbox { 46my-select-checkbox {
50 @include ng-select($form-base-input-width); 47 @include responsive-width($form-base-input-width);
48
49 display: block;
51} 50}
52 51
53input[type=submit] { 52input[type=submit] {
diff --git a/client/src/app/shared/shared-user-settings/user-video-settings.component.scss b/client/src/app/shared/shared-user-settings/user-video-settings.component.scss
index d6a17703a..2cbd92d41 100644
--- a/client/src/app/shared/shared-user-settings/user-video-settings.component.scss
+++ b/client/src/app/shared/shared-user-settings/user-video-settings.component.scss
@@ -20,7 +20,9 @@ input[type=submit] {
20} 20}
21 21
22my-select-checkbox { 22my-select-checkbox {
23 @include ng-select(340px); 23 @include responsive-width(340px);
24
25 display: block;
24} 26}
25 27
26.form-group-select { 28.form-group-select {
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index 1231d2c44..10ab44f57 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -313,17 +313,6 @@
313 } 313 }
314} 314}
315 315
316@mixin ng-select ($width) {
317 ::ng-deep &.ng-select,
318 ::ng-deep .ng-select {
319 width: $width;
320
321 @media screen and (max-width: $width) {
322 width: 100%;
323 }
324 }
325}
326
327@mixin peertube-select-container ($width) { 316@mixin peertube-select-container ($width) {
328 padding: 0; 317 padding: 0;
329 margin: 0; 318 margin: 0;