From 149e4cc597777f2fcf9a62639afeeb0e168cedb2 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Thu, 28 Jan 2021 17:21:08 +0100 Subject: [PATCH] add description to transcoding profile selector --- .../edit-custom-config.component.html | 23 ++++++++++++------- client/src/sass/ng-select.scss | 10 ++++++++ 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html index 7ecfb7702..5f02d00e8 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html @@ -885,15 +885,22 @@
- New transcoding profiles can be added by PeerTube plugins + new transcoding profiles can be added by PeerTube plugins -
- -
+ + + {{ item }} + +
+ x264, targeting maximum device compatibility +
+
+
{{ formErrors.transcoding.profile }}
diff --git a/client/src/sass/ng-select.scss b/client/src/sass/ng-select.scss index d7ea73d48..54c805ccf 100644 --- a/client/src/sass/ng-select.scss +++ b/client/src/sass/ng-select.scss @@ -20,6 +20,11 @@ $ng-select-height: 30px; font-size: .9em; } +.ng-input, +.ng-select .ng-select-container .ng-value-container { + padding-left: 15px !important; +} + .ng-select { &.ng-select-focused { &:not(.ng-select-opened) > .ng-select-container { @@ -29,6 +34,11 @@ $ng-select-height: 30px; .ng-select-container { background-color: pvar(--inputBackgroundColor); + + } + + .ng-arrow-wrapper { + padding-right: 12px } &.ng-select-single .ng-value-container .ng-value { -- 2.41.0