mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +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:
@@ -12,7 +12,13 @@
|
||||
|
||||
<bit-form-field>
|
||||
<bit-label>{{ "number" | i18n }}</bit-label>
|
||||
<input id="cardNumber" bitInput formControlName="number" type="password" />
|
||||
<input
|
||||
id="cardNumber"
|
||||
bitInput
|
||||
formControlName="number"
|
||||
type="password"
|
||||
class="tw-font-mono"
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
bitIconButton
|
||||
@@ -54,7 +60,7 @@
|
||||
|
||||
<bit-form-field disableMargin>
|
||||
<bit-label>{{ "securityCode" | i18n }}</bit-label>
|
||||
<input id="cardCode" bitInput formControlName="code" type="password" />
|
||||
<input id="cardCode" bitInput formControlName="code" type="password" class="tw-font-mono" />
|
||||
<button
|
||||
type="button"
|
||||
bitIconButton
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
formControlName="value"
|
||||
type="password"
|
||||
data-testid="custom-hidden-field"
|
||||
class="tw-font-mono"
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
<bit-form-field>
|
||||
<bit-label>{{ "password" | i18n }}</bit-label>
|
||||
<input bitInput formControlName="password" type="password" />
|
||||
<input bitInput formControlName="password" type="password" class="tw-font-mono" />
|
||||
<bit-hint *ngIf="loginDetailsForm.controls.password.enabled">
|
||||
<ng-container *ngIf="newPasswordGenerated">
|
||||
{{ "securePasswordGenerated" | i18n }}
|
||||
@@ -106,7 +106,7 @@
|
||||
<p>{{ (canCaptureTotp ? "totpHelperWithCapture" : "totpHelper") | i18n }}</p>
|
||||
</bit-popover>
|
||||
</bit-label>
|
||||
<input bitInput formControlName="totp" type="password" />
|
||||
<input bitInput formControlName="totp" type="password" class="tw-font-mono" />
|
||||
<button
|
||||
type="button"
|
||||
bitIconButton
|
||||
|
||||
Reference in New Issue
Block a user