From fb84baac72f2b35c04cfa12d04b9089d528afec1 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Wed, 5 Jun 2024 12:57:42 -0600 Subject: [PATCH 1/2] fix button width, disable tax sorting --- src/components/SelectionList/Search/TransactionListItemRow.tsx | 2 +- src/components/SelectionList/SearchTableHeader.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/SelectionList/Search/TransactionListItemRow.tsx b/src/components/SelectionList/Search/TransactionListItemRow.tsx index 02ac0bcd700d6..50a34be86f617 100644 --- a/src/components/SelectionList/Search/TransactionListItemRow.tsx +++ b/src/components/SelectionList/Search/TransactionListItemRow.tsx @@ -154,7 +154,7 @@ function ActionCell({onButtonPress}: ActionCellProps) { onPress={onButtonPress} small pressOnEnter - style={[styles.p0]} + style={[styles.w100]} /> ); } diff --git a/src/components/SelectionList/SearchTableHeader.tsx b/src/components/SelectionList/SearchTableHeader.tsx index a23c2e322ad76..913ceb914eb08 100644 --- a/src/components/SelectionList/SearchTableHeader.tsx +++ b/src/components/SelectionList/SearchTableHeader.tsx @@ -64,6 +64,7 @@ const SearchColumns: SearchColumnConfig[] = [ columnName: CONST.SEARCH_TABLE_COLUMNS.TAX_AMOUNT, translationKey: 'common.tax', shouldShow: (data: OnyxTypes.SearchResults['data']) => SearchUtils.getShouldShowColumn(data, CONST.SEARCH_TABLE_COLUMNS.TAX_AMOUNT), + isColumnSortable: false, }, { columnName: CONST.SEARCH_TABLE_COLUMNS.TOTAL_AMOUNT, From 6bc04971ee2c61282029f55108489493975875cf Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Wed, 5 Jun 2024 13:10:47 -0600 Subject: [PATCH 2/2] fix report list item button size --- src/components/SelectionList/Search/ReportListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SelectionList/Search/ReportListItem.tsx b/src/components/SelectionList/Search/ReportListItem.tsx index 10e25f3d871c5..5c3e8ed724d23 100644 --- a/src/components/SelectionList/Search/ReportListItem.tsx +++ b/src/components/SelectionList/Search/ReportListItem.tsx @@ -55,7 +55,7 @@ function ActionCell({onButtonPress}: ActionCellProps) { onPress={onButtonPress} small pressOnEnter - style={[styles.p0]} + style={[styles.w100]} /> ); }