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-template>
|
||||
</my-help>
|
||||
<my-input-toggle-hidden formControlName="password" id="password"
|
||||
[ngClass]="{ 'input-error': formErrors['password'] }"
|
||||
autocomplete="new-password"></my-input-toggle-hidden>
|
||||
|
||||
<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">
|
||||
{{ formErrors.password }}
|
||||
</div>
|
||||
|
|
|
@ -19,6 +19,12 @@ input:not([type=submit]) {
|
|||
display: block;
|
||||
}
|
||||
|
||||
my-input-toggle-hidden {
|
||||
@include responsive-width(340px);
|
||||
|
||||
display: block;
|
||||
}
|
||||
|
||||
.peertube-select-container {
|
||||
@include peertube-select-container(340px);
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ import { environment } from '../../../environments/environment'
|
|||
|
||||
@Injectable()
|
||||
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 (
|
||||
private authHttp: HttpClient,
|
||||
|
|
|
@ -305,6 +305,13 @@
|
|||
z-index: 100;
|
||||
}
|
||||
|
||||
@mixin responsive-width ($width) {
|
||||
width: $width;
|
||||
|
||||
@media screen and (max-width: $width) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin ng-select ($width) {
|
||||
::ng-deep &.ng-select,
|
||||
|
|
Loading…
Reference in a new issue