Skip to content

Commit

Permalink
Merge pull request #5329 from Expensify/joe-fix-mobile-labels
Browse files Browse the repository at this point in the history
Update labels in VBA flow to have correct spacing
  • Loading branch information
stitesExpensify authored Sep 20, 2021
2 parents f691a8b + 09bef15 commit 509d2a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/ReimbursementAccount/CompanyStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ class CompanyStep extends React.Component {
onChangeText={value => this.clearErrorAndSetValue('addressCity', value)}
value={this.state.addressCity}
errorText={this.getErrorText('addressCity')}
translateX={-14}
/>
</View>
<View style={[styles.flex1]}>
Expand Down Expand Up @@ -261,6 +262,7 @@ class CompanyStep extends React.Component {
value={this.state.incorporationDate}
placeholder={this.props.translate('companyStep.incorporationDatePlaceholder')}
errorText={this.getErrorText('incorporationDate')}
translateX={-14}
/>
</View>
<View style={[styles.flex1]}>
Expand Down
3 changes: 3 additions & 0 deletions src/pages/ReimbursementAccount/IdentityForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const IdentityForm = ({
onFieldChange('firstName', val);
}}
errorText={error === translateLocal('bankAccount.error.firstName') ? error : ''}
translateX={-10}
/>
</View>
<View style={[styles.flex2]}>
Expand All @@ -97,6 +98,7 @@ const IdentityForm = ({
onFieldChange('lastName', val);
}}
errorText={error === translateLocal('bankAccount.error.lastName') ? error : ''}
translateX={-10}
/>
</View>
</View>
Expand Down Expand Up @@ -150,6 +152,7 @@ const IdentityForm = ({
onFieldChange('city', val);
}}
errorText={error === translateLocal('bankAccount.error.addressCity') ? error : ''}
translateX={-14}
/>
</View>
<View style={[styles.flex1]}>
Expand Down

0 comments on commit 509d2a9

Please sign in to comment.