Skip to content

Commit

Permalink
change padding of text input
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonhenry committed Apr 29, 2024
1 parent e35a605 commit 1df02e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/SelectionList/BaseSelectionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ function BaseSelectionList<TItem extends ListItem>(
{({safeAreaPaddingBottomStyle}) => (
<View style={[styles.flex1, !isKeyboardShown && safeAreaPaddingBottomStyle, containerStyle]}>
{shouldShowTextInput && (
<View style={[styles.ph4, styles.pb3]}>
<View style={[styles.ph5, styles.pb3]}>
<TextInput
ref={(element) => {
innerTextInputRef.current = element as RNTextInput;
Expand Down Expand Up @@ -556,7 +556,7 @@ function BaseSelectionList<TItem extends ListItem>(
{/* If we are loading new options we will avoid showing any header message. This is mostly because one of the header messages says there are no options. */}
{/* This is misleading because we might be in the process of loading fresh options from the server. */}
{!isLoadingNewOptions && !!headerMessage && (
<View style={headerMessageStyle ?? [styles.ph4, styles.pb5]}>
<View style={headerMessageStyle ?? [styles.ph5, styles.pb5]}>
<Text style={[styles.textLabel, styles.colorMuted]}>{headerMessage}</Text>
</View>
)}
Expand Down

0 comments on commit 1df02e4

Please sign in to comment.