Skip to content

Commit

Permalink
Merge pull request #50815 from Expensify/cmartins-fixTextStyles
Browse files Browse the repository at this point in the history
Fix router input styles
  • Loading branch information
luacmartins authored Oct 15, 2024
2 parents aaae0f1 + e6d02c2 commit 26a9fc4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/components/Search/SearchPageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@ function SearchPageHeader({queryJSON, hash}: SearchPageHeaderProps) {
<Button
innerStyles={!isCannedQuery && [styles.searchRouterInputResults, styles.borderNone]}
text={translate('search.filtersHeader')}
textStyles={!isCannedQuery && styles.textSupporting}
icon={Expensicons.Filters}
onPress={onPress}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Search/SearchRouter/SearchRouterInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function SearchRouterInput({
onSubmitEditing={onSubmit}
shouldUseDisabledStyles={false}
textInputContainerStyles={styles.borderNone}
inputStyle={[styles.searchInputStyle, inputWidth, styles.pl3, styles.pr3]}
inputStyle={[inputWidth, styles.pl3, styles.pr3]}
onFocus={() => {
setIsFocused(true);
routerListRef?.current?.updateExternalTextInputFocus(true);
Expand Down
1 change: 1 addition & 0 deletions src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3635,6 +3635,7 @@ const styles = (theme: ThemeColors) =>
searchRouterInputResultsFocused: {
borderWidth: 1,
borderColor: theme.success,
backgroundColor: theme.appBG,
},

searchTableHeaderActive: {
Expand Down

0 comments on commit 26a9fc4

Please sign in to comment.