Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

fix reactive file upload button

Rigel Kent6c808af9a28b
diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.component.html b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.component.html
index ff9cd37eac..e61509efd2 100644
--- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.component.html
+++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.component.html
@@ -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>
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-send.scss b/client/src/app/+videos/+video-edit/video-add-components/video-send.scss
index ebe14c59e5..cdb7c82801 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-send.scss
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-send.scss
@@ -42,5 +42,6 @@ $width-size: 190px;
.button-file {
@include peertube-button-file(max-content);
+ @include orange-button;
}
}
diff --git a/client/src/app/shared/shared-main/account/actor-avatar-info.component.scss b/client/src/app/shared/shared-main/account/actor-avatar-info.component.scss
index 5a66ecfd22..7118e94717 100644
--- a/client/src/app/shared/shared-main/account/actor-avatar-info.component.scss
+++ b/client/src/app/shared/shared-main/account/actor-avatar-info.component.scss
@@ -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;
diff --git a/client/src/app/shared/shared-main/buttons/button.component.html b/client/src/app/shared/shared-main/buttons/button.component.html
index 43e2ca6141..a7dd4bb104 100644
--- a/client/src/app/shared/shared-main/buttons/button.component.html
+++ b/client/src/app/shared/shared-main/buttons/button.component.html
@@ -3,4 +3,6 @@
<my-small-loader [loading]="loading"></my-small-loader>
<span class="button-label">{{ label }}</span>
+
+ <ng-content></ng-content>
</span>
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index 003936bc30..c6822b7145 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -258,7 +258,6 @@
min-height: 30px;
@include peertube-button;
- @include orange-button;
input[type=file] {
position: absolute;