]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix eye button for password input
authorChocobozzz <me@florianbigard.com>
Mon, 26 Apr 2021 12:37:24 +0000 (14:37 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 26 Apr 2021 12:37:24 +0000 (14:37 +0200)
client/src/app/shared/shared-forms/input-toggle-hidden.component.html
client/src/app/shared/shared-forms/input-toggle-hidden.component.scss

index 9f252f299556f13538de7661456ab763d07434a5..63e49c7783a80a0dea12d560ed62e163e9296eab 100644 (file)
@@ -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>
 
index e20f69b868ca5fd91ccf8bdb62240e04b09e4b62..d2f68e2a44fe6198ecdf6f013cd09afdd6b13daa 100644 (file)
@@ -9,3 +9,7 @@ input {
   padding-left: 15px !important;
   padding-right: 15px !important;
 }
+
+.eye-button {
+  line-height: 1 !important;
+}