diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/shared/shared-forms/input-toggle-hidden.component.html | 2 | ||||
-rw-r--r-- | client/src/app/shared/shared-forms/input-toggle-hidden.component.scss | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-forms/input-toggle-hidden.component.html b/client/src/app/shared/shared-forms/input-toggle-hidden.component.html index 9f252f299..63e49c778 100644 --- a/client/src/app/shared/shared-forms/input-toggle-hidden.component.html +++ b/client/src/app/shared/shared-forms/input-toggle-hidden.component.html | |||
@@ -6,7 +6,7 @@ | |||
6 | /> | 6 | /> |
7 | 7 | ||
8 | <div *ngIf="withToggle || withCopy" class="input-group-append"> | 8 | <div *ngIf="withToggle || withCopy" class="input-group-append"> |
9 | <button *ngIf="withToggle" (click)="toggle()" type="button" class="btn btn-outline-secondary" [title]="toggleTitle"> | 9 | <button *ngIf="withToggle" (click)="toggle()" type="button" class="btn btn-outline-secondary eye-button" [title]="toggleTitle"> |
10 | <span class="glyphicon glyphicon-eye-{{ show ? 'open' : 'close' }}"></span> | 10 | <span class="glyphicon glyphicon-eye-{{ show ? 'open' : 'close' }}"></span> |
11 | </button> | 11 | </button> |
12 | 12 | ||
diff --git a/client/src/app/shared/shared-forms/input-toggle-hidden.component.scss b/client/src/app/shared/shared-forms/input-toggle-hidden.component.scss index e20f69b86..d2f68e2a4 100644 --- a/client/src/app/shared/shared-forms/input-toggle-hidden.component.scss +++ b/client/src/app/shared/shared-forms/input-toggle-hidden.component.scss | |||
@@ -9,3 +9,7 @@ input { | |||
9 | padding-left: 15px !important; | 9 | padding-left: 15px !important; |
10 | padding-right: 15px !important; | 10 | padding-right: 15px !important; |
11 | } | 11 | } |
12 | |||
13 | .eye-button { | ||
14 | line-height: 1 !important; | ||
15 | } | ||