1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00:00

[PM 25897] Copy and UI Tweaks for Payment Method Component (#16851)

* Implement the Ui changes to align as expected

* Align the Text in card number, expiration date and security code vertically

* Change the Zip to ZIP

* Remove readonly modifier from signal declarations
This commit is contained in:
cyprain-okeke
2025-10-27 13:53:05 +01:00
committed by GitHub
parent 43a1dfa463
commit b9f48d83b2
9 changed files with 27 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ export class IdentityView extends ItemView implements SdkIdentityView {
city: string | undefined;
@linkedFieldOption(LinkedId.State, { sortPosition: 16, i18nKey: "stateProvince" })
state: string | undefined;
@linkedFieldOption(LinkedId.PostalCode, { sortPosition: 17, i18nKey: "zipPostalCode" })
@linkedFieldOption(LinkedId.PostalCode, { sortPosition: 17, i18nKey: "zipPostalCodeLabel" })
postalCode: string | undefined;
@linkedFieldOption(LinkedId.Country, { sortPosition: 18 })
country: string | undefined;

View File

@@ -144,7 +144,7 @@
</bit-form-field>
<bit-form-field>
<bit-label>
{{ "zipPostalCode" | i18n }}
{{ "zipPostalCodeLabel" | i18n }}
</bit-label>
<input bitInput formControlName="postalCode" />
</bit-form-field>