fix reactive file upload button

pull/2924/head
Rigel Kent 2020-07-01 16:55:32 +02:00 committed by Rigel Kent
parent 1fe1e14cb3
commit 6c808af9a2
5 changed files with 5 additions and 1 deletions

View File

@ -70,6 +70,7 @@
<label i18n>Channel</label>
<div class="peertube-select-container">
<select formControlName="videoChannelId" class="form-control">
<option i18n value="undefined" disabled>Channel to bind the playlist to</option>
<option></option>
<option *ngFor="let channel of userVideoChannels" [value]="channel.id">{{ channel.label }}</option>
</select>

View File

@ -42,5 +42,6 @@ $width-size: 190px;
.button-file {
@include peertube-button-file(max-content);
@include orange-button;
}
}

View File

@ -17,6 +17,7 @@
.actor-img-edit-button {
@include peertube-button-file(21px);
@include button-with-icon(19px);
@include orange-button;
margin-top: 10px;
margin-bottom: 5px;

View File

@ -3,4 +3,6 @@
<my-small-loader [loading]="loading"></my-small-loader>
<span class="button-label">{{ label }}</span>
<ng-content></ng-content>
</span>

View File

@ -258,7 +258,6 @@
min-height: 30px;
@include peertube-button;
@include orange-button;
input[type=file] {
position: absolute;