fix reactive file upload button

This commit is contained in:
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> <label i18n>Channel</label>
<div class="peertube-select-container"> <div class="peertube-select-container">
<select formControlName="videoChannelId" class="form-control"> <select formControlName="videoChannelId" class="form-control">
<option i18n value="undefined" disabled>Channel to bind the playlist to</option>
<option></option> <option></option>
<option *ngFor="let channel of userVideoChannels" [value]="channel.id">{{ channel.label }}</option> <option *ngFor="let channel of userVideoChannels" [value]="channel.id">{{ channel.label }}</option>
</select> </select>

View File

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

View File

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

View File

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

View File

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