Skip to content

Commit ff42609

Browse files
move padding right to use utility function
Co-authored-by: Rajat Parashar <[email protected]>
1 parent c96e703 commit ff42609

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/components/ExpensiTextInput/BaseExpensiTextInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ class BaseExpensiTextInput extends Component {
201201
placeholder={(this.state.isFocused || !this.props.label) ? this.props.placeholder : null}
202202
placeholderTextColor={themeColors.placeholderText}
203203
underlineColorAndroid="transparent"
204-
style={[this.props.inputStyle, styles.flex1, styles.w100, !hasLabel && styles.pv0, this.props.secureTextEntry && styles.expensiTextInputWithIcon]}
204+
style={[this.props.inputStyle, styles.flex1, styles.w100, !hasLabel && styles.pv0, this.props.secureTextEntry && styles.pr2]}
205205
multiline={this.props.multiline}
206206
onFocus={this.onFocus}
207207
onBlur={this.onBlur}

src/styles/styles.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -639,10 +639,6 @@ const styles = {
639639
zIndex: -1,
640640
},
641641

642-
expensiTextInputWithIcon: {
643-
paddingRight: 8,
644-
},
645-
646642
expensiTextInputDesktop: addOutlineWidth({}, 0),
647643

648644
expensiTextInputAndroid: left => ({

0 commit comments

Comments
 (0)