aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-07-01 16:55:32 +0200
committerRigel Kent <par@rigelk.eu>2020-07-01 17:03:48 +0200
commit6c808af9a28b8c35191009bbce8052a967363dd1 (patch)
tree131912654449e07027360400475dedc3fa87c428
parent1fe1e14cb30ac44299563f98ed0aee2805794493 (diff)
downloadPeerTube-6c808af9a28b8c35191009bbce8052a967363dd1.tar.gz
PeerTube-6c808af9a28b8c35191009bbce8052a967363dd1.tar.zst
PeerTube-6c808af9a28b8c35191009bbce8052a967363dd1.zip
fix reactive file upload button
-rw-r--r--client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.component.html1
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-send.scss1
-rw-r--r--client/src/app/shared/shared-main/account/actor-avatar-info.component.scss1
-rw-r--r--client/src/app/shared/shared-main/buttons/button.component.html2
-rw-r--r--client/src/sass/include/_mixins.scss1
5 files changed, 5 insertions, 1 deletions
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 ff9cd37ea..e61509efd 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 @@
70 <label i18n>Channel</label> 70 <label i18n>Channel</label>
71 <div class="peertube-select-container"> 71 <div class="peertube-select-container">
72 <select formControlName="videoChannelId" class="form-control"> 72 <select formControlName="videoChannelId" class="form-control">
73 <option i18n value="undefined" disabled>Channel to bind the playlist to</option>
73 <option></option> 74 <option></option>
74 <option *ngFor="let channel of userVideoChannels" [value]="channel.id">{{ channel.label }}</option> 75 <option *ngFor="let channel of userVideoChannels" [value]="channel.id">{{ channel.label }}</option>
75 </select> 76 </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 ebe14c59e..cdb7c8280 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;
42 42
43 .button-file { 43 .button-file {
44 @include peertube-button-file(max-content); 44 @include peertube-button-file(max-content);
45 @include orange-button;
45 } 46 }
46} 47}
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 5a66ecfd2..7118e9471 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 @@
17 .actor-img-edit-button { 17 .actor-img-edit-button {
18 @include peertube-button-file(21px); 18 @include peertube-button-file(21px);
19 @include button-with-icon(19px); 19 @include button-with-icon(19px);
20 @include orange-button;
20 21
21 margin-top: 10px; 22 margin-top: 10px;
22 margin-bottom: 5px; 23 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 43e2ca614..a7dd4bb10 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 @@
3 <my-small-loader [loading]="loading"></my-small-loader> 3 <my-small-loader [loading]="loading"></my-small-loader>
4 4
5 <span class="button-label">{{ label }}</span> 5 <span class="button-label">{{ label }}</span>
6
7 <ng-content></ng-content>
6</span> 8</span>
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index 003936bc3..c6822b714 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -258,7 +258,6 @@
258 min-height: 30px; 258 min-height: 30px;
259 259
260 @include peertube-button; 260 @include peertube-button;
261 @include orange-button;
262 261
263 input[type=file] { 262 input[type=file] {
264 position: absolute; 263 position: absolute;