aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-15 09:32:55 +0100
committerChocobozzz <me@florianbigard.com>2020-12-15 10:54:53 +0100
commitd89fcd1e5efe1f91652a7c9da02a9323dc035f2b (patch)
tree6eab00f1674c006400dbf11c681c05608b9bf732 /client/src/app/+admin
parentc9bc850e93295661e743255b8623ac8e2a95c391 (diff)
downloadPeerTube-d89fcd1e5efe1f91652a7c9da02a9323dc035f2b.tar.gz
PeerTube-d89fcd1e5efe1f91652a7c9da02a9323dc035f2b.tar.zst
PeerTube-d89fcd1e5efe1f91652a7c9da02a9323dc035f2b.zip
Fix password input in edit user
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r--client/src/app/+admin/users/user-edit/user-edit.component.html8
-rw-r--r--client/src/app/+admin/users/user-edit/user-edit.component.scss6
2 files changed, 11 insertions, 3 deletions
diff --git a/client/src/app/+admin/users/user-edit/user-edit.component.html b/client/src/app/+admin/users/user-edit/user-edit.component.html
index 819ced834..e1260c123 100644
--- a/client/src/app/+admin/users/user-edit/user-edit.component.html
+++ b/client/src/app/+admin/users/user-edit/user-edit.component.html
@@ -122,9 +122,11 @@
122 </ng-container> 122 </ng-container>
123 </ng-template> 123 </ng-template>
124 </my-help> 124 </my-help>
125 <my-input-toggle-hidden formControlName="password" id="password" 125
126 [ngClass]="{ 'input-error': formErrors['password'] }" 126 <my-input-toggle-hidden
127 autocomplete="new-password"></my-input-toggle-hidden> 127 formControlName="password" id="password" [ngClass]="{ 'input-error': formErrors['password'] }" autocomplete="new-password"
128 ></my-input-toggle-hidden>
129
128 <div *ngIf="formErrors.password" class="form-error"> 130 <div *ngIf="formErrors.password" class="form-error">
129 {{ formErrors.password }} 131 {{ formErrors.password }}
130 </div> 132 </div>
diff --git a/client/src/app/+admin/users/user-edit/user-edit.component.scss b/client/src/app/+admin/users/user-edit/user-edit.component.scss
index 30c37f148..3b7715062 100644
--- a/client/src/app/+admin/users/user-edit/user-edit.component.scss
+++ b/client/src/app/+admin/users/user-edit/user-edit.component.scss
@@ -19,6 +19,12 @@ input:not([type=submit]) {
19 display: block; 19 display: block;
20} 20}
21 21
22my-input-toggle-hidden {
23 @include responsive-width(340px);
24
25 display: block;
26}
27
22.peertube-select-container { 28.peertube-select-container {
23 @include peertube-select-container(340px); 29 @include peertube-select-container(340px);
24} 30}