From 89f95bec33f1610ce759bc0e5b07c0bd9add804b Mon Sep 17 00:00:00 2001 From: Jakub Szymczak Date: Fri, 27 Sep 2024 12:47:41 +0200 Subject: [PATCH] fix PR comments --- src/components/Search/index.tsx | 4 ++-- src/pages/Search/SearchSelectedNarrow.tsx | 2 +- src/pages/Search/SearchTypeMenuNarrow.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Search/index.tsx b/src/components/Search/index.tsx index a075eb9956a2..6752fe92d993 100644 --- a/src/components/Search/index.tsx +++ b/src/components/Search/index.tsx @@ -337,8 +337,8 @@ function Search({queryJSON, onSearchListScroll, contentContainerStyle}: SearchPr shouldSingleExecuteRowSelect shouldPreventDefaultFocusOnSelectRow={!DeviceCapabilities.canUseTouchScreen()} shouldPreventDefault={false} - listHeaderWrapperStyle={[styles.ph8, styles.pv5]} - containerStyle={[styles.pv0]} + listHeaderWrapperStyle={[styles.ph8, styles.pt5]} + containerStyle={[styles.pv0, type === CONST.SEARCH.DATA_TYPES.CHAT && !isSmallScreenWidth && styles.pt3]} showScrollIndicator={false} onEndReachedThreshold={0.75} onEndReached={fetchMoreResults} diff --git a/src/pages/Search/SearchSelectedNarrow.tsx b/src/pages/Search/SearchSelectedNarrow.tsx index 1cc34d6bf53a..35c7a46ad2fd 100644 --- a/src/pages/Search/SearchSelectedNarrow.tsx +++ b/src/pages/Search/SearchSelectedNarrow.tsx @@ -45,7 +45,7 @@ function SearchSelectedNarrow({options, itemsLength}: SearchSelectedNarrowProps) }; return ( - +