diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-26 14:37:24 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-26 14:37:24 +0200 |
commit | ab5b66891b9f323d56e322f6cc71b0c93b9606da (patch) | |
tree | cb2bce9905a35204e98e375462ceddbe2891fa6d | |
parent | f816da921f6cf735a988f5ff0bb0e9d0e8e4f8ca (diff) | |
download | PeerTube-ab5b66891b9f323d56e322f6cc71b0c93b9606da.tar.gz PeerTube-ab5b66891b9f323d56e322f6cc71b0c93b9606da.tar.zst PeerTube-ab5b66891b9f323d56e322f6cc71b0c93b9606da.zip |
Fix eye button for password input
-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 | } | ||