1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-18 15:47:57 +01:00

move password count button to display before password toggle (#11450)

This commit is contained in:
Nick Krantz 2024-10-08 10:50:44 -05:00 committed by GitHub
parent 844d2298e9
commit 2c8f09d547
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,15 +36,6 @@
aria-readonly="true" aria-readonly="true"
data-testid="login-password" data-testid="login-password"
/> />
<button
*ngIf="cipher.viewPassword"
bitSuffix
type="button"
bitIconButton
bitPasswordInputToggle
data-testid="toggle-password"
(toggledChange)="pwToggleValue($event)"
></button>
<button <button
*ngIf="cipher.viewPassword && passwordRevealed" *ngIf="cipher.viewPassword && passwordRevealed"
bitIconButton="bwi-numbered-list" bitIconButton="bwi-numbered-list"
@ -56,6 +47,15 @@
appStopClick appStopClick
(click)="togglePasswordCount()" (click)="togglePasswordCount()"
></button> ></button>
<button
*ngIf="cipher.viewPassword"
bitSuffix
type="button"
bitIconButton
bitPasswordInputToggle
data-testid="toggle-password"
(toggledChange)="pwToggleValue($event)"
></button>
<button <button
*ngIf="cipher.viewPassword" *ngIf="cipher.viewPassword"
bitIconButton="bwi-clone" bitIconButton="bwi-clone"