Skip to content

Commit 2b72873

Browse files
committed
fix tax amount picker alignment.
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
1 parent 9b59c60 commit 2b72873

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/workspace/taxes/ValuePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function ValuePage({
9595
extraDecimals={CONST.MAX_TAX_RATE_DECIMAL_PLACES - 2}
9696
// We increase the amount max length to support the extra decimals.
9797
amountMaxLength={CONST.MAX_TAX_RATE_INTEGER_PLACES}
98-
extraSymbol={<Text style={styles.iouAmountText}>%</Text>}
98+
extraSymbol={<Text style={[styles.iouAmountText, styles.lineHeightUndefined]}>%</Text>}
9999
ref={inputCallbackRef}
100100
autoGrowExtraSpace={variables.w80}
101101
autoGrowMarginSide="left"

src/pages/workspace/taxes/WorkspaceCreateTaxPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function WorkspaceCreateTaxPage({
117117
extraDecimals={CONST.MAX_TAX_RATE_DECIMAL_PLACES - 2}
118118
// We increase the amount max length to support the extra decimals.
119119
amountMaxLength={CONST.MAX_TAX_RATE_INTEGER_PLACES}
120-
extraSymbol={<Text style={styles.iouAmountText}>%</Text>}
120+
extraSymbol={<Text style={[styles.iouAmountText, styles.lineHeightUndefined]}>%</Text>}
121121
autoGrowExtraSpace={variables.w80}
122122
autoGrowMarginSide="left"
123123
style={[styles.iouAmountTextInput, styles.textAlignRight]}

0 commit comments

Comments
 (0)