1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-06 09:20:43 +01:00

fix aslignment with invisible progress bar

This commit is contained in:
Kyle Spearrin 2018-11-12 23:06:28 -05:00
parent 4a6c0b39a8
commit 26d4fb8005

View File

@ -26,9 +26,12 @@
[(ngModel)]="masterPassword" (input)="updatePasswordStrength()" required appInputVerbatim> [(ngModel)]="masterPassword" (input)="updatePasswordStrength()" required appInputVerbatim>
<app-password-strength [score]="masterPasswordScore" [showText]="true"></app-password-strength> <app-password-strength [score]="masterPasswordScore" [showText]="true"></app-password-strength>
</div> </div>
<button type="button" class="ml-1 btn btn-link" title="{{'toggleVisibility' | i18n}}" (click)="togglePassword(false)"> <div>
<i class="fa fa-lg" [ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i> <button type="button" class="ml-1 btn btn-link" title="{{'toggleVisibility' | i18n}}" (click)="togglePassword(false)">
</button> <i class="fa fa-lg" [ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
</button>
<div class="progress-bar invisible"></div>
</div>
</div> </div>
<small class="form-text text-muted">{{'masterPassDesc' | i18n}}</small> <small class="form-text text-muted">{{'masterPassDesc' | i18n}}</small>
</div> </div>