Skip to content

Commit

Permalink
Merge pull request #31247 from Pujan92/fix/26560
Browse files Browse the repository at this point in the history
Fix: Extra padding between the header and address field in waypoint editor
  • Loading branch information
AndrewGable authored Nov 27, 2023
2 parents 29b3ca1 + e210ef8 commit c93e122
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/pages/ReimbursementAccount/ACHContractStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function ACHContractStep(props) {
validate={validate}
onSubmit={submit}
submitButtonText={props.translate('common.saveAndContinue')}
style={[styles.mh5, styles.flexGrow1]}
style={[styles.mh5, styles.mt3, styles.flexGrow1]}
>
{({inputValues}) => (
<>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ReimbursementAccount/BankAccountManualStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function BankAccountManualStep(props) {
onSubmit={submit}
validate={validate}
submitButtonText={translate('common.continue')}
style={[styles.mh5, styles.flexGrow1]}
style={[styles.mh5, styles.mt3, styles.flexGrow1]}
>
<Text style={[styles.mb5]}>{translate('bankAccount.checkHelpLine')}</Text>
<Image
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ReimbursementAccount/BankAccountPlaidStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function BankAccountPlaidStep(props) {
onSubmit={submit}
scrollContextEnabled
submitButtonText={translate('common.saveAndContinue')}
style={[styles.mh5, styles.flexGrow1]}
style={[styles.mh5, styles.mt3, styles.flexGrow1]}
isSubmitButtonVisible={Boolean(selectedPlaidAccountID) && !_.isEmpty(lodashGet(plaidData, 'bankAccounts'))}
>
<AddPlaidBankAccount
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ReimbursementAccount/CompanyStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function CompanyStep({reimbursementAccount, reimbursementAccountDraft, getDefaul
onSubmit={submit}
scrollContextEnabled
submitButtonText={translate('common.saveAndContinue')}
style={[styles.mh5, styles.flexGrow1]}
style={[styles.mh5, styles.mt3, styles.flexGrow1]}
>
<Text>{translate('companyStep.subtitle')}</Text>
<InputWrapper
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ReimbursementAccount/ReimbursementAccountPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ class ReimbursementAccountPage extends React.Component {
onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_WORKSPACES)}
/>

<View style={[this.props.themeStyles.m5, this.props.themeStyles.flex1]}>
<View style={[this.props.themeStyles.m5, this.props.themeStyles.mv3, this.props.themeStyles.flex1]}>
<Text>{errorText}</Text>
</View>
</ScreenWrapper>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ReimbursementAccount/RequestorStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const RequestorStep = React.forwardRef(({reimbursementAccount, shouldShowOnfido,
submitButtonText={translate('common.saveAndContinue')}
validate={validate}
onSubmit={submit}
style={[styles.mh5, styles.flexGrow1]}
style={[styles.mh5, styles.mt3, styles.flexGrow1]}
scrollContextEnabled
>
<Text>{translate('requestorStep.subtitle')}</Text>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ReimbursementAccount/ValidationStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function ValidationStep({reimbursementAccount, translate, onBackButtonPress, acc
submitButtonText={translate('validationStep.buttonText')}
onSubmit={submit}
validate={validate}
style={[styles.mh5, styles.flexGrow1]}
style={[styles.mh5, styles.mt3, styles.flexGrow1]}
>
<View style={[styles.mb2]}>
<Text style={[styles.mb5]}>{translate('validationStep.description')}</Text>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/iou/WaypointEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function WaypointEditor({route: {params: {iouType = '', transactionID = '', wayp
inputID={`waypoint${waypointIndex}`}
ref={(e) => (textInput.current = e)}
hint={!isOffline ? 'distance.errors.selectSuggestedAddress' : ''}
containerStyles={[styles.mt4]}
containerStyles={[styles.mt3]}
label={translate('distance.address')}
defaultValue={waypointAddress}
onPress={selectWaypoint}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/AboutPage/AboutPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function AboutPage(props) {
/>
<ScrollView contentContainerStyle={[styles.flexGrow1, styles.flexColumn, styles.justifyContentBetween, safeAreaPaddingBottomStyle]}>
<View style={[styles.flex1]}>
<View style={styles.pageWrapper}>
<View style={[styles.pageWrapper, styles.pv3]}>
<View style={[styles.settingsPageBody, styles.mb6, styles.alignItemsCenter]}>
<Logo
height={80}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/AppDownloadLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function AppDownloadLinksPage(props) {
title={props.translate('initialSettingsPage.aboutPage.appDownloadLinks')}
onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_ABOUT)}
/>
<ScrollView style={[styles.mt5]}>
<ScrollView style={[styles.mt3]}>
{_.map(menuItems, (item) => (
<MenuItem
key={item.translationKey}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/Preferences/PriorityModePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function PriorityModePage(props) {
title={props.translate('priorityModePage.priorityMode')}
onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_PREFERENCES)}
/>
<Text style={[styles.mh5, styles.mv4]}>{props.translate('priorityModePage.explainerText')}</Text>
<Text style={[styles.mh5, styles.mv3]}>{props.translate('priorityModePage.explainerText')}</Text>
<SelectionList
sections={[{data: priorityModes}]}
onSelectRow={updateMode}
Expand Down

0 comments on commit c93e122

Please sign in to comment.