mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
[PM-13145] Hidden fields font (#11764)
* display card number and security code with mono font * display hidden custom fields with mono font * display passwords with mono font
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
[value]="card.number"
|
||||
aria-readonly="true"
|
||||
data-testid="cardholder-number"
|
||||
class="tw-font-mono"
|
||||
/>
|
||||
<button
|
||||
bitSuffix
|
||||
@@ -63,6 +64,7 @@
|
||||
[value]="card.code"
|
||||
aria-readonly="true"
|
||||
data-testid="cardholder-code"
|
||||
class="tw-font-mono"
|
||||
/>
|
||||
<button
|
||||
bitSuffix
|
||||
|
||||
@@ -25,7 +25,14 @@
|
||||
</bit-form-field>
|
||||
<bit-form-field *ngIf="field.type === fieldType.Hidden" [disableReadOnlyBorder]="last">
|
||||
<bit-label>{{ field.name }}</bit-label>
|
||||
<input readonly bitInput type="password" [value]="field.value" aria-readonly="true" />
|
||||
<input
|
||||
readonly
|
||||
bitInput
|
||||
type="password"
|
||||
[value]="field.value"
|
||||
aria-readonly="true"
|
||||
class="tw-font-mono"
|
||||
/>
|
||||
<button
|
||||
bitSuffix
|
||||
type="button"
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
[value]="cipher.login.password"
|
||||
aria-readonly="true"
|
||||
data-testid="login-password"
|
||||
class="tw-font-mono"
|
||||
/>
|
||||
<button
|
||||
*ngIf="cipher.viewPassword && passwordRevealed"
|
||||
|
||||
Reference in New Issue
Block a user