Skip to content

Commit

Permalink
Merge pull request #31759 from pac-guerreiro/fix/personal-details-ext…
Browse files Browse the repository at this point in the history
…ra-padding-address-line-1

fix(get physical card): bad margins affecting personal details addres…
  • Loading branch information
luacmartins authored Nov 28, 2023
2 parents 4e7ea29 + 4fdf3a5 commit 5138fef
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/components/AddressForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ function AddressForm({city, country, formID, onAddressChanged, onSubmit, shouldS
submitButtonText={submitButtonText}
enabledWhenOffline
>
<View style={styles.formSpaceVertical} />
<View>
<AddressSearch
inputID="addressLine1"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/Wallet/Card/BaseGetPhysicalCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function BaseGetPhysicalCard({
title={title}
onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_WALLET_DOMAINCARD.getRoute(domain))}
/>
<Text style={[styles.textHeadline, styles.mh5]}>{headline}</Text>
<Text style={[styles.textHeadline, styles.mh5, styles.mb5]}>{headline}</Text>
{renderContent(onSubmit, submitButtonText, children, onValidate)}
</ScreenWrapper>
);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/Wallet/Card/GetPhysicalCardConfirm.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function GetPhysicalCardConfirm({
submitButtonText={translate('getPhysicalCard.shipCard')}
title={translate('getPhysicalCard.header')}
>
<Text style={[styles.baseFontStyle, styles.mv5, styles.mh5]}>{translate('getPhysicalCard.estimatedDeliveryMessage')}</Text>
<Text style={[styles.baseFontStyle, styles.mb5, styles.mh5]}>{translate('getPhysicalCard.estimatedDeliveryMessage')}</Text>
<MenuItemWithTopDescription
description={translate('getPhysicalCard.legalName')}
iconRight={Expensicons.ArrowRight}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/Wallet/Card/GetPhysicalCardName.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function GetPhysicalCardName({
role={CONST.ACCESSIBILITY_ROLE.TEXT}
autoCapitalize="words"
defaultValue={legalFirstName}
containerStyles={[styles.mt5, styles.mh5]}
containerStyles={[styles.mh5]}
shouldSaveDraft
/>
<TextInput
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/Wallet/Card/GetPhysicalCardPhone.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function GetPhysicalCardPhone({
aria-label={translate('getPhysicalCard.phoneNumber')}
role={CONST.ACCESSIBILITY_ROLE.TEXT}
defaultValue={phoneNumber}
containerStyles={[styles.mt5, styles.mh5]}
containerStyles={[styles.mh5]}
shouldSaveDraft
/>
</BaseGetPhysicalCard>
Expand Down

0 comments on commit 5138fef

Please sign in to comment.