Skip to content

Commit 7c0a493

Browse files
committed
fix selected item lost border radius
1 parent 6e9822f commit 7c0a493

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/SelectionList/Search/TransactionGroupListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function TransactionGroupListItem<TItem extends ListItem>({
192192
onButtonPress={() => {
193193
openReportInRHP(transaction);
194194
}}
195-
style={shouldUseNarrowLayout ? [styles.p3, styles.pt2] : [styles.ph3, styles.pv1Half, styles.noBorderRadius]}
195+
style={[styles.noBorderRadius, shouldUseNarrowLayout ? [styles.p3, styles.pt2] : [styles.ph3, styles.pv1Half]]}
196196
isReportItemChild
197197
isInSingleTransactionReport={groupItem.transactions.length === 1}
198198
/>

src/components/TransactionItemRow/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ function TransactionItemRow({
366366

367367
if (shouldUseNarrowLayout) {
368368
return (
369-
<View style={[styles.expenseWidgetRadius, styles.justifyContentEvenly, bgActiveStyles, style]}>
369+
<View style={[styles.expenseWidgetRadius, styles.justifyContentEvenly, bgActiveStyles, style, styles.overflowHidden]}>
370370
<View style={[styles.flexRow]}>
371371
{shouldShowCheckbox && (
372372
<Checkbox

0 commit comments

Comments
 (0)