From 0518094e80d91a26df5ef0742b862fa7860cf2a3 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Tue, 9 Jul 2024 16:30:31 -0600 Subject: [PATCH] fix table header alignment --- src/components/Search/index.tsx | 2 +- src/components/SelectionList/SearchTableHeader.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Search/index.tsx b/src/components/Search/index.tsx index 76e0ca3563ee..fc5c23d5c9ec 100644 --- a/src/components/Search/index.tsx +++ b/src/components/Search/index.tsx @@ -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} diff --git a/src/components/SelectionList/SearchTableHeader.tsx b/src/components/SelectionList/SearchTableHeader.tsx index 4fc53211b734..235cff294f8f 100644 --- a/src/components/SelectionList/SearchTableHeader.tsx +++ b/src/components/SelectionList/SearchTableHeader.tsx @@ -108,7 +108,7 @@ function SearchTableHeader({data, metadata, sortBy, sortOrder, isSortingAllowed, return ( - + {SearchColumns.map(({columnName, translationKey, shouldShow, isColumnSortable}) => { if (!shouldShow(data, metadata)) { return null;