Skip to content

Commit

Permalink
fix table header alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Jul 9, 2024
1 parent 5499988 commit 0518094
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 0518094

Please sign in to comment.