Fix password input in edit user
This commit is contained in:
parent
c9bc850e93
commit
d89fcd1e5e
4 changed files with 19 additions and 4 deletions
|
@ -122,9 +122,11 @@
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</my-help>
|
</my-help>
|
||||||
<my-input-toggle-hidden formControlName="password" id="password"
|
|
||||||
[ngClass]="{ 'input-error': formErrors['password'] }"
|
<my-input-toggle-hidden
|
||||||
autocomplete="new-password"></my-input-toggle-hidden>
|
formControlName="password" id="password" [ngClass]="{ 'input-error': formErrors['password'] }" autocomplete="new-password"
|
||||||
|
></my-input-toggle-hidden>
|
||||||
|
|
||||||
<div *ngIf="formErrors.password" class="form-error">
|
<div *ngIf="formErrors.password" class="form-error">
|
||||||
{{ formErrors.password }}
|
{{ formErrors.password }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -19,6 +19,12 @@ input:not([type=submit]) {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my-input-toggle-hidden {
|
||||||
|
@include responsive-width(340px);
|
||||||
|
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.peertube-select-container {
|
.peertube-select-container {
|
||||||
@include peertube-select-container(340px);
|
@include peertube-select-container(340px);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ import { environment } from '../../../environments/environment'
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class InstanceFollowService {
|
export class InstanceFollowService {
|
||||||
private static BASE_APPLICATION_URL = 'https://peertube2.cpy.re' + '/api/v1/server'
|
private static BASE_APPLICATION_URL = environment.production + '/api/v1/server'
|
||||||
|
|
||||||
constructor (
|
constructor (
|
||||||
private authHttp: HttpClient,
|
private authHttp: HttpClient,
|
||||||
|
|
|
@ -305,6 +305,13 @@
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin responsive-width ($width) {
|
||||||
|
width: $width;
|
||||||
|
|
||||||
|
@media screen and (max-width: $width) {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@mixin ng-select ($width) {
|
@mixin ng-select ($width) {
|
||||||
::ng-deep &.ng-select,
|
::ng-deep &.ng-select,
|
||||||
|
|
Loading…
Reference in a new issue