@@ -68,7 +68,7 @@ function TransactionListItem<TItem extends ListItem>({
6868 const theme = useTheme ( ) ;
6969 const StyleUtils = useStyleUtils ( ) ;
7070
71- const { isLargeScreenWidth} = useResponsiveLayout ( ) ;
71+ const { isLargeScreenWidth, shouldUseNarrowLayout } = useResponsiveLayout ( ) ;
7272 const { currentSearchHash, currentSearchKey, currentSearchResults} = useSearchStateContext ( ) ;
7373 const snapshotReport = ( currentSearchResults ?. data ?. [ `${ ONYXKEYS . COLLECTION . REPORT } ${ transactionItem . reportID } ` ] ?? { } ) as Report ;
7474
@@ -122,7 +122,6 @@ function TransactionListItem<TItem extends ListItem>({
122122 }
123123 : { ...styles . flexColumn , ...styles . alignItemsStretch } ,
124124 isLargeScreenWidth && isLastItem && [ styles . searchTableBottomRadius , styles . overflowHidden ] ,
125- ! isLargeScreenWidth && ! isLastItem && StyleUtils . getSelectedBorderBottomStyle ( item . isSelected ) ,
126125 ! isLargeScreenWidth && isFirstItem && [ styles . searchTableTopRadius , styles . overflowHidden ] ,
127126 ! isLargeScreenWidth && isLastItem && [ styles . searchTableBottomRadius , styles . overflowHidden ] ,
128127 ] ;
@@ -227,6 +226,7 @@ function TransactionListItem<TItem extends ListItem>({
227226 isLargeScreenWidth && isLastItem && styles . searchTableBottomRadius ,
228227 ! isLargeScreenWidth && isFirstItem && styles . searchTableTopRadius ,
229228 ! isLargeScreenWidth && isLastItem && styles . searchTableBottomRadius ,
229+ ! isLargeScreenWidth && ! isLastItem && styles . borderBottom ,
230230 ] }
231231 >
232232 { ( { hovered} ) => (
@@ -262,12 +262,7 @@ function TransactionListItem<TItem extends ListItem>({
262262 isActionColumnWide = { transactionItem . isActionColumnWide }
263263 shouldShowCheckbox = { ! ! canSelectMultiple }
264264 checkboxSentryLabel = { CONST . SENTRY_LABEL . SEARCH . TRANSACTION_LIST_ITEM_CHECKBOX }
265- style = { [
266- styles . p3 ,
267- styles . pv2 ,
268- ! isLargeScreenWidth && [ styles . p0 , styles . pt3 , isLastItem ? styles . searchTableBottomRadius : styles . noBorderRadius ] ,
269- isLargeScreenWidth && ( isLastItem ? styles . searchTableBottomRadius : styles . noBorderRadius ) ,
270- ] }
265+ style = { [ styles . p3 , styles . pv2 , shouldUseNarrowLayout ? [ styles . p0 , styles . pt3 , styles . noBorderRadius ] : isLargeScreenWidth && styles . noBorderRadius ] }
271266 violations = { transactionViolations }
272267 onArrowRightPress = { isDeletedTransaction ? undefined : ( ) => onSelectRow ( item , transactionPreviewData ) }
273268 isHover = { hovered }
0 commit comments