Skip to content

Commit

Permalink
Small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
parasharrajat committed Mar 4, 2022
1 parent aa07d10 commit e872468
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/TextInput/BaseTextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import * as Expensicons from '../Icon/Expensicons';
import Text from '../Text';
import * as styleConst from './styleConst';
import * as StyleUtils from '../../styles/StyleUtils';
import variables from '../../styles/variables';

class BaseTextInput extends Component {
constructor(props) {
Expand All @@ -28,7 +29,7 @@ class BaseTextInput extends Component {
labelScale: new Animated.Value(activeLabel ? styleConst.ACTIVE_LABEL_SCALE : styleConst.INACTIVE_LABEL_SCALE),
passwordHidden: props.secureTextEntry,
textInputWidth: 0,
prefixWidth: 20,
prefixWidth: variables.fontSizeNormalHeight,
};

this.input = null;
Expand Down
1 change: 1 addition & 0 deletions src/styles/StyleUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ function parseStyleAsArray(styleParam) {
}

/**
* Get variable padding-left as style
* @param {Number} paddingLeft
* @returns {Object}
*/
Expand Down

0 comments on commit e872468

Please sign in to comment.