Fix ng select in admin

pull/3489/head
Chocobozzz 2020-12-15 08:57:49 +01:00
parent 728a1236ae
commit d1742ede65
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 12 additions and 8 deletions

View File

@ -924,7 +924,7 @@
<div class="form-group" [ngClass]="{ 'disabled-checkbox-extra': !isLiveEnabled() }">
<label i18n for="liveMaxDuration">Max live duration</label>
<div class="peertube-select-container">
<div>
<ng-select
labelForId="liveMaxDuration" [items]="liveMaxDurationOptions" formControlName="maxDuration"
bindLabel="label" bindValue="value"

View File

@ -41,6 +41,10 @@ input[type=checkbox] {
@include peertube-select-container($form-base-input-width);
}
ng-select {
@include ng-select($form-base-input-width);
}
my-select-checkbox {
@include ng-select($form-base-input-width);
}