Fix eye button for password input
This commit is contained in:
parent
f816da921f
commit
ab5b66891b
|
@ -6,7 +6,7 @@
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div *ngIf="withToggle || withCopy" class="input-group-append">
|
<div *ngIf="withToggle || withCopy" class="input-group-append">
|
||||||
<button *ngIf="withToggle" (click)="toggle()" type="button" class="btn btn-outline-secondary" [title]="toggleTitle">
|
<button *ngIf="withToggle" (click)="toggle()" type="button" class="btn btn-outline-secondary eye-button" [title]="toggleTitle">
|
||||||
<span class="glyphicon glyphicon-eye-{{ show ? 'open' : 'close' }}"></span>
|
<span class="glyphicon glyphicon-eye-{{ show ? 'open' : 'close' }}"></span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|
|
@ -9,3 +9,7 @@ input {
|
||||||
padding-left: 15px !important;
|
padding-left: 15px !important;
|
||||||
padding-right: 15px !important;
|
padding-right: 15px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.eye-button {
|
||||||
|
line-height: 1 !important;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue