Skip to content

Commit 8f66a85

Browse files
authored
Merge pull request Expensify#79691 from software-mansion-labs/fix/expense-value-unit-same-line
Fix value and unit not on the same line for small font size in expense create flow
2 parents fe7d2e6 + 1624401 commit 8f66a85

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/pages/iou/request/step/IOURequestStepDistanceManual.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ function IOURequestStepDistanceManual({
372372
if (isLoadingSelectedTab) {
373373
return;
374374
}
375+
// eslint-disable-next-line react-hooks/set-state-in-effect -- Clear form error when tab changes
375376
setFormError('');
376377
}, [selectedTab, isLoadingSelectedTab]);
377378

@@ -402,6 +403,7 @@ function IOURequestStepDistanceManual({
402403
style={styles.iouAmountTextInput}
403404
containerStyle={styles.iouAmountTextInputContainer}
404405
autoGrowExtraSpace={variables.w80}
406+
touchableInputWrapperStyle={styles.heightUndefined}
405407
errorText={formError}
406408
footer={
407409
<Button

src/pages/iou/request/step/IOURequestStepHours.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ function IOURequestStepHours({
123123
style={styles.iouAmountTextInput}
124124
containerStyle={styles.iouAmountTextInputContainer}
125125
errorText={formError}
126+
touchableInputWrapperStyle={styles.heightUndefined}
126127
onInputChange={() => {
127128
if (!formError) {
128129
return;

0 commit comments

Comments
 (0)