Skip to content

Commit

Permalink
Merge pull request #15722 from Expensify/cmartins-alignHint
Browse files Browse the repository at this point in the history
Fix TextInput hint alignment
  • Loading branch information
aldo-expensify authored Mar 8, 2023
2 parents fb20144 + 5c27761 commit 6b2a769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FormHelpMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const FormHelpMessage = (props) => {
return (
<View style={[styles.flexRow, styles.alignItemsCenter, styles.mt2, styles.mb1, ...props.style]}>
{props.isError && <Icon src={Expensicons.DotIndicator} fill={colors.red} />}
<View style={[styles.flex1, styles.ml2]}>
<View style={[styles.flex1, props.isError && styles.ml2]}>
{props.children || (
<Text style={[props.isError ? styles.formError : styles.formHelp, styles.mb0]}>
{props.message}
Expand Down

0 comments on commit 6b2a769

Please sign in to comment.