Fix ng select in admin
This commit is contained in:
parent
728a1236ae
commit
d1742ede65
|
@ -924,7 +924,7 @@
|
||||||
|
|
||||||
<div class="form-group" [ngClass]="{ 'disabled-checkbox-extra': !isLiveEnabled() }">
|
<div class="form-group" [ngClass]="{ 'disabled-checkbox-extra': !isLiveEnabled() }">
|
||||||
<label i18n for="liveMaxDuration">Max live duration</label>
|
<label i18n for="liveMaxDuration">Max live duration</label>
|
||||||
<div class="peertube-select-container">
|
<div>
|
||||||
<ng-select
|
<ng-select
|
||||||
labelForId="liveMaxDuration" [items]="liveMaxDurationOptions" formControlName="maxDuration"
|
labelForId="liveMaxDuration" [items]="liveMaxDurationOptions" formControlName="maxDuration"
|
||||||
bindLabel="label" bindValue="value"
|
bindLabel="label" bindValue="value"
|
||||||
|
|
|
@ -41,6 +41,10 @@ input[type=checkbox] {
|
||||||
@include peertube-select-container($form-base-input-width);
|
@include peertube-select-container($form-base-input-width);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ng-select {
|
||||||
|
@include ng-select($form-base-input-width);
|
||||||
|
}
|
||||||
|
|
||||||
my-select-checkbox {
|
my-select-checkbox {
|
||||||
@include ng-select($form-base-input-width);
|
@include ng-select($form-base-input-width);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user