Skip to content

Commit df19b26

Browse files
authored
Merge pull request #50619 from nkdengineer/fix/49823
fix: Input in Rules page have extra space
2 parents cc0d741 + c77f5c0 commit df19b26

7 files changed

+7
-7
lines changed

src/pages/workspace/rules/RulesAutoApproveReportsUnderPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function RulesAutoApproveReportsUnderPage({route}: RulesAutoApproveReportsUnderP
5252
onBackButtonPress={() => Navigation.goBack()}
5353
/>
5454
<FormProvider
55-
style={[styles.flexGrow1, styles.mh5, styles.mt5]}
55+
style={[styles.flexGrow1, styles.mh5]}
5656
formID={ONYXKEYS.FORMS.RULES_AUTO_APPROVE_REPORTS_UNDER_MODAL_FORM}
5757
onSubmit={({maxExpenseAutoApprovalAmount}) => {
5858
PolicyActions.setPolicyAutomaticApprovalLimit(policyID, maxExpenseAutoApprovalAmount);

src/pages/workspace/rules/RulesAutoPayReportsUnderPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function RulesAutoPayReportsUnderPage({route}: RulesAutoPayReportsUnderPageProps
6161
onBackButtonPress={() => Navigation.goBack()}
6262
/>
6363
<FormProvider
64-
style={[styles.flexGrow1, styles.mh5, styles.mt5]}
64+
style={[styles.flexGrow1, styles.mh5]}
6565
formID={ONYXKEYS.FORMS.RULES_AUTO_PAY_REPORTS_UNDER_MODAL_FORM}
6666
validate={validateLimit}
6767
onSubmit={({maxExpenseAutoPayAmount}) => {

src/pages/workspace/rules/RulesCustomNamePage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function RulesCustomNamePage({route}: RulesCustomNamePageProps) {
6666
title={translate('workspace.rules.expenseReportRules.customNameTitle')}
6767
onBackButtonPress={() => Navigation.goBack()}
6868
/>
69-
<View style={[styles.ph5, styles.pt3, styles.pb4]}>
69+
<View style={[styles.ph5, styles.pb4]}>
7070
<Text>
7171
{translate('workspace.rules.expenseReportRules.customNameDescription')}
7272
<TextLink

src/pages/workspace/rules/RulesMaxExpenseAgePage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function RulesMaxExpenseAgePage({
6060
onBackButtonPress={() => Navigation.goBack()}
6161
/>
6262
<FormProvider
63-
style={[styles.flexGrow1, styles.pt3, styles.ph5]}
63+
style={[styles.flexGrow1, styles.ph5]}
6464
formID={ONYXKEYS.FORMS.RULES_MAX_EXPENSE_AGE_FORM}
6565
onSubmit={({maxExpenseAge}) => {
6666
PolicyActions.setPolicyMaxExpenseAge(policyID, maxExpenseAge);

src/pages/workspace/rules/RulesMaxExpenseAmountPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function RulesMaxExpenseAmountPage({
5555
onBackButtonPress={() => Navigation.goBack()}
5656
/>
5757
<FormProvider
58-
style={[styles.flexGrow1, styles.pt3, styles.ph5]}
58+
style={[styles.flexGrow1, styles.ph5]}
5959
formID={ONYXKEYS.FORMS.RULES_MAX_EXPENSE_AMOUNT_FORM}
6060
onSubmit={({maxExpenseAmount}) => {
6161
PolicyActions.setPolicyMaxExpenseAmount(policyID, maxExpenseAmount);

src/pages/workspace/rules/RulesRandomReportAuditPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function RulesRandomReportAuditPage({route}: RulesRandomReportAuditPageProps) {
5050
onBackButtonPress={() => Navigation.goBack()}
5151
/>
5252
<FormProvider
53-
style={[styles.flexGrow1, styles.mh5, styles.mt5]}
53+
style={[styles.flexGrow1, styles.mh5]}
5454
formID={ONYXKEYS.FORMS.RULES_RANDOM_REPORT_AUDIT_MODAL_FORM}
5555
onSubmit={({auditRatePercentage}) => {
5656
PolicyActions.setPolicyAutomaticApprovalRate(policyID, auditRatePercentage);

src/pages/workspace/rules/RulesReceiptRequiredAmountPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function RulesReceiptRequiredAmountPage({
5555
onBackButtonPress={() => Navigation.goBack()}
5656
/>
5757
<FormProvider
58-
style={[styles.flexGrow1, styles.pt3, styles.ph5]}
58+
style={[styles.flexGrow1, styles.ph5]}
5959
formID={ONYXKEYS.FORMS.RULES_REQUIRED_RECEIPT_AMOUNT_FORM}
6060
onSubmit={({maxExpenseAmountNoReceipt}) => {
6161
PolicyActions.setPolicyMaxExpenseAmountNoReceipt(policyID, maxExpenseAmountNoReceipt);

0 commit comments

Comments
 (0)