Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix eye button for password input

Chocobozzzab5b66891b9f
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 9f252f2995..63e49c7783 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 @@
/>
<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>
</button>
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 e20f69b868..d2f68e2a44 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 {
padding-left: 15px !important;
padding-right: 15px !important;
}
+
+.eye-button {
+ line-height: 1 !important;
+}