diff options
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-edit.component.html | 8 | ||||
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-edit.component.scss | 6 |
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 | ||
22 | my-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 | } |