Skip to content

Commit

Permalink
Merge pull request #45128 from Expensify/cmartins-fixTableHeaderAlign…
Browse files Browse the repository at this point in the history
…ment

Fix table header alignment
  • Loading branch information
luacmartins authored Jul 9, 2024
2 parents 5499988 + 0518094 commit 4ecfa0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function Search({query, policyIDs, sortBy, sortOrder}: SearchProps) {
getItemHeight={getItemHeight}
shouldDebounceRowSelect
shouldPreventDefaultFocusOnSelectRow={!DeviceCapabilities.canUseTouchScreen()}
listHeaderWrapperStyle={[styles.ph9, styles.pv3, styles.pb5]}
listHeaderWrapperStyle={[styles.ph8, styles.pv3, styles.pb5]}
containerStyle={[styles.pv0]}
showScrollIndicator={false}
onEndReachedThreshold={0.75}
Expand Down
2 changes: 1 addition & 1 deletion src/components/SelectionList/SearchTableHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function SearchTableHeader({data, metadata, sortBy, sortOrder, isSortingAllowed,

return (
<View style={[styles.flex1]}>
<View style={[styles.flex1, styles.flexRow, styles.gap3, styles.ph4]}>
<View style={[styles.flex1, styles.flexRow, styles.gap3, styles.pl4]}>
{SearchColumns.map(({columnName, translationKey, shouldShow, isColumnSortable}) => {
if (!shouldShow(data, metadata)) {
return null;
Expand Down

0 comments on commit 4ecfa0f

Please sign in to comment.