Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
a5a1c24
Adjust table row styles for desktop: reduce gaps, update padding
MelvinBot Mar 10, 2026
4a3911e
Fix: Apply tighter row gaps and padding to ExpenseReportListItem (Rep…
MelvinBot Mar 10, 2026
3b3321c
Reduce table row min height from 64px to 52px on desktop
MelvinBot Mar 10, 2026
f255c91
Apply desktop table row styling to TaskListItem
MelvinBot Mar 10, 2026
12b71c3
Fix: Apply tighter row gaps and padding to expense report detail view
MelvinBot Mar 10, 2026
cf38d03
Fix: Reduce expense report row min height to 52px, remove subgroup he…
MelvinBot Mar 10, 2026
53185f6
Fix: Reduce table header bottom padding from 8px to 4px
MelvinBot Mar 10, 2026
689080f
Remove 8px bottom margin from expense report transaction list container
MelvinBot Mar 10, 2026
ab52144
Adjust subgroup header margins and remove checkbox padding in expense…
MelvinBot Mar 11, 2026
c24bbaf
Remove vertical padding from search list table header
MelvinBot Mar 11, 2026
68efff2
Fix: Reduce right arrow padding on expense rows from 14px to 8px vert…
MelvinBot Mar 11, 2026
77194d3
Adjust Workspaces page table row styles: tighter padding, gaps, and h…
MelvinBot Mar 11, 2026
600e857
Fix: Prettier formatting in WorkspacesListRow.tsx
MelvinBot Mar 11, 2026
76856e8
Fix: Apply tighter row gaps and padding to Domain rows on desktop
MelvinBot Mar 11, 2026
3ed8906
Fix: run Prettier on DomainsListRow.tsx
MelvinBot Mar 11, 2026
51c9c64
Restyle desktop tables: no row gaps, border radius 0, bottom borders,…
MelvinBot Mar 12, 2026
bb64e13
Fix: Prettier formatting in TransactionGroupListItem.tsx
MelvinBot Mar 12, 2026
b5bfa84
Fix: Constrain table header background to align with row backgrounds
MelvinBot Mar 12, 2026
f543d52
Add table border-radius and last-row styling on desktop
MelvinBot Mar 12, 2026
d8ae824
Fix: Apply highlight background color to subgroup headers in expense …
MelvinBot Mar 12, 2026
790e587
Fix: Set table header row padding to 8px top and 8px bottom
MelvinBot Mar 13, 2026
0da0687
Fix: Adjust Workspaces page table header styling
MelvinBot Mar 13, 2026
72beb2c
Fix: run prettier on WorkspacesListPage.tsx
MelvinBot Mar 13, 2026
24ab71b
Update table headers for Workspace Editor and Workspaces list
MelvinBot Mar 13, 2026
c158052
Fix: Remove top margin from subgroup header (reportLayoutGroupHeader)
MelvinBot Mar 13, 2026
59b8837
Fix: Add minHeight 40px to searchListHeaderContainerStyle for table h…
MelvinBot Mar 13, 2026
d32cf69
Update expense report table header and subheader group styles
MelvinBot Mar 13, 2026
7e0d060
Address review feedback: table row styling updates
MelvinBot Mar 13, 2026
13d2016
Reduce collapsible group header vertical padding from 6px to 4px
MelvinBot Mar 13, 2026
68725e5
Fix: Reduce grouped table row vertical padding from 6px to 4px
MelvinBot Mar 15, 2026
0bc15ba
Fix: Add left padding to report rows and adjust report header padding
MelvinBot Mar 15, 2026
ab3a5dc
Merge remote-tracking branch 'origin/main' into claude-adjustTableRow…
MelvinBot Mar 15, 2026
6e97261
Fix ESLint errors and Prettier formatting
MelvinBot Mar 16, 2026
4e40355
Fix: Restore 12px left padding on report rows in Reports > Reports page
MelvinBot Mar 16, 2026
56d3784
Fix expense report table: last row border/radius and header padding
MelvinBot Mar 16, 2026
94c7337
Fix Prettier formatting in MoneyRequestReportTransactionItem
MelvinBot Mar 16, 2026
34e4828
Remove checkbox margin-right and reduce action column width to 68px
MelvinBot Mar 16, 2026
40c549c
Fix: Remove border radius from selected expense rows, keep only for l…
MelvinBot Mar 16, 2026
4608719
Fix prettier formatting in MoneyRequestReportTransactionItem and Tran…
MelvinBot Mar 16, 2026
bf20e5f
Style Domains table as separate table and fix workspace editor header…
MelvinBot Mar 16, 2026
dc776dd
Fix expense report table header padding and last row container styling
MelvinBot Mar 16, 2026
df906f8
Fix: Reduce grouping table row vertical padding from 6px to 4px
MelvinBot Mar 16, 2026
1b01f97
Reduce grouping row expand/collapse arrow vertical padding from 18px …
MelvinBot Mar 16, 2026
ce8864c
Fix: Reduce group collapse arrow vertical padding from 18px to 8px
MelvinBot Mar 16, 2026
0612fd1
Clamp table cell text to 1 line instead of 2
MelvinBot Mar 17, 2026
5ccb999
Apply 1-line truncation to TagCell, CategoryCell, and MerchantCell
MelvinBot Mar 17, 2026
d681451
Use compact 28x28 avatars in search table rows
MelvinBot Mar 17, 2026
358c392
Merge remote-tracking branch 'origin/main' into claude-adjustTableRow…
MelvinBot Mar 17, 2026
9bc50e8
Use 28x28 avatars in ReportSearchHeader for grouped headers and Repor…
MelvinBot Mar 17, 2026
d13a05a
Reduce table header left padding from 16px to 12px after checkbox
MelvinBot Mar 17, 2026
233ebd5
Update receipt thumbnail dimensions to 28x32px
MelvinBot Mar 17, 2026
dbad397
Fix receipt thumbnail dimensions: swap width/height parameters
MelvinBot Mar 17, 2026
fc164c2
Reduce receipt column width from 36px to 28px to match ReceiptCell
MelvinBot Mar 17, 2026
d327b5f
Merge remote-tracking branch 'origin/main' into claude-adjustTableRow…
MelvinBot Mar 17, 2026
9ff002c
Fix date column always showing 92px width on Expenses tab
MelvinBot Mar 17, 2026
363091b
Update selected row border color to buttonHoveredBG and remove table …
MelvinBot Mar 17, 2026
ace010b
Fix: run prettier on TaskListItem.tsx
MelvinBot Mar 17, 2026
0676daf
Revert search list content container padding change (pb0 back to pb3)
MelvinBot Mar 17, 2026
d4eaa4d
Merge remote-tracking branch 'origin/claude-adjustTableRowStyles' int…
MelvinBot Mar 17, 2026
49b0483
Remove 16px bottom padding from expense report transaction list
MelvinBot Mar 18, 2026
6b8886b
Update min row height to 56px and add selected border color to TableL…
MelvinBot Mar 18, 2026
7324003
Add thin scrollbar styling to prevent header/body offset on web
MelvinBot Mar 18, 2026
4a5ac25
Use dedicated tableRowHeight variable instead of optionRowHeightCompact
MelvinBot Mar 18, 2026
cc6eba1
Revert scrollbar CSS, narrow Total column on Reports page
MelvinBot Mar 18, 2026
8bda63d
Update group header checkboxes, type icons, and avatar sizes
MelvinBot Mar 18, 2026
f2d1cf6
Fix highlight border radius on desktop and domains empty state banner
MelvinBot Mar 18, 2026
f030efe
Increase filter buttons wrapper bottom padding from 8px to 16px
MelvinBot Mar 18, 2026
027b698
Revert table header paddingBottom to 8px, increase filter buttons wra…
MelvinBot Mar 18, 2026
7fc0f42
Merge remote-tracking branch 'origin/main' into claude-adjustTableRow…
MelvinBot Mar 19, 2026
b03b8ed
Fix: Set 44px inner padding on expense report table header
MelvinBot Mar 19, 2026
b672fae
Restore marginTop: 16 on reportLayoutGroupHeader
MelvinBot Mar 19, 2026
5d1540c
Revert "Restore marginTop: 16 on reportLayoutGroupHeader"
MelvinBot Mar 19, 2026
1f3dad5
Revert "Fix: Set 44px inner padding on expense report table header"
MelvinBot Mar 19, 2026
d7606d2
Fix: Set table header inner right padding to 44px in expense report view
MelvinBot Mar 19, 2026
5eb75f7
Merge remote-tracking branch 'origin/main' into claude-adjustTableRow…
MelvinBot Mar 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/AnimatedCollapsible/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function AnimatedCollapsible({
<PressableWithFeedback
onPress={onPress}
disabled={disabled}
style={[styles.p3Half, styles.justifyContentCenter, styles.alignItemsCenter, expandButtonStyle]}
style={[{paddingHorizontal: 14, paddingVertical: 14}, styles.justifyContentCenter, styles.alignItemsCenter, expandButtonStyle]}
accessibilityRole={CONST.ROLE.BUTTON}
accessibilityLabel={isExpanded ? CONST.ACCESSIBILITY_LABELS.COLLAPSE : CONST.ACCESSIBILITY_LABELS.EXPAND}
sentryLabel={sentryLabel}
Expand Down
10 changes: 8 additions & 2 deletions src/components/Domain/DomainMenuItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import type {PopoverMenuItem} from '@components/PopoverMenu';
import {PressableWithoutFeedback} from '@components/Pressable';
import {useMemoizedLazyExpensifyIcons} from '@hooks/useLazyAsset';
import useLocalize from '@hooks/useLocalize';
import useResponsiveLayout from '@hooks/useResponsiveLayout';
import useThemeStyles from '@hooks/useThemeStyles';
import Navigation from '@libs/Navigation/Navigation';
import CONST from '@src/CONST';
Expand All @@ -21,6 +22,9 @@ type DomainMenuItemProps = {

/** Row index in the menu */
index: number;

/** Whether this is the last domain in the list */
isLastItem?: boolean;
};

type DomainItem = {
Expand Down Expand Up @@ -50,9 +54,10 @@ type DomainItem = {
} & Pick<OfflineWithFeedbackProps, 'pendingAction'> &
WithSentryLabel;

function DomainMenuItem({item, index}: DomainMenuItemProps) {
function DomainMenuItem({item, index, isLastItem}: DomainMenuItemProps) {
const icons = useMemoizedLazyExpensifyIcons(['Globe']);
const styles = useThemeStyles();
const {isLargeScreenWidth} = useResponsiveLayout();
const {translate} = useLocalize();
const {isAdmin, isValidated, action} = item;

Expand All @@ -79,7 +84,7 @@ function DomainMenuItem({item, index}: DomainMenuItemProps) {
<OfflineWithFeedback
key={`domain_${item.title}_${index}`}
pendingAction={item.pendingAction}
style={[styles.mb2, styles.mh5]}
style={[!isLargeScreenWidth && styles.mb2, styles.mh5]}
contentContainerStyle={item.errors ? styles.mb2 : undefined}
errors={item?.errors}
onClose={() => clearDomainErrors(item.accountID)}
Expand All @@ -97,6 +102,7 @@ function DomainMenuItem({item, index}: DomainMenuItemProps) {
isHovered={hovered}
menuItems={threeDotsMenuItems}
brickRoadIndicator={item.brickRoadIndicator}
isLastItem={isLastItem}
/>
)}
</PressableWithoutFeedback>
Expand Down
26 changes: 24 additions & 2 deletions src/components/Domain/DomainsListRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import type {PopoverMenuItem} from '@components/PopoverMenu';
import TextWithTooltip from '@components/TextWithTooltip';
import ThreeDotsMenu from '@components/ThreeDotsMenu';
import {useMemoizedLazyExpensifyIcons} from '@hooks/useLazyAsset';
import useResponsiveLayout from '@hooks/useResponsiveLayout';
import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
import CONST from '@src/CONST';
Expand All @@ -26,16 +27,37 @@ type DomainsListRowProps = {

/** The type of brick road indicator to show */
brickRoadIndicator?: ValueOf<typeof CONST.BRICK_ROAD_INDICATOR_STATUS>;

/** Whether this is the last domain row in the list */
isLastItem?: boolean;
};

function DomainsListRow({title, isHovered, badgeText, brickRoadIndicator, menuItems}: DomainsListRowProps) {
function DomainsListRow({title, isHovered, badgeText, brickRoadIndicator, menuItems, isLastItem}: DomainsListRowProps) {
const styles = useThemeStyles();
const {isLargeScreenWidth} = useResponsiveLayout();
const theme = useTheme();

const icons = useMemoizedLazyExpensifyIcons(['Globe', 'ArrowRight', 'DotIndicator']);

return (
<View style={[styles.flexRow, styles.highlightBG, styles.br3, styles.p5, styles.pr3, styles.alignItemsCenter, styles.gap3, isHovered && styles.hoveredComponentBG]}>
<View
style={[
styles.flexRow,
styles.highlightBG,
!isLargeScreenWidth && styles.br3,
isLargeScreenWidth
? [
styles.pv2,
styles.ph3,
{borderRadius: 0, borderColor: theme.border},
isLastItem ? {borderBottomWidth: 0, borderBottomLeftRadius: 8, borderBottomRightRadius: 8} : {borderBottomWidth: 1},
]
: [styles.p5, styles.pr3],
styles.alignItemsCenter,
styles.gap3,
isHovered && styles.hoveredComponentBG,
]}
>
<View style={[styles.flex1, styles.flexRow, styles.bgTransparent, styles.gap3, styles.alignItemsCenter, styles.justifyContentStart]}>
<Icon
src={icons.Globe}
Expand Down
2 changes: 1 addition & 1 deletion src/components/DomainsEmptyStateComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function DomainsEmptyStateComponent() {
title={translate('domain.enhancedSecurity.title')}
subtitle={translate('domain.enhancedSecurity.subtitle')}
subtitleStyle={[styles.textLabelSupporting, styles.pt1]}
style={[styles.borderRadiusComponentLarge, styles.highlightBG]}
style={[{borderTopLeftRadius: 0, borderTopRightRadius: 0, borderBottomLeftRadius: 8, borderBottomRightRadius: 8}, styles.highlightBG]}
rightComponent={
<Button
text={translate('domain.enhancedSecurity.enable')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import Checkbox from '@components/Checkbox';
import OfflineWithFeedback from '@components/OfflineWithFeedback';
import Text from '@components/Text';
import useLocalize from '@hooks/useLocalize';
import useResponsiveLayout from '@hooks/useResponsiveLayout';
import useResponsiveLayoutOnWideRHP from '@hooks/useResponsiveLayoutOnWideRHP';
import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
import {convertToDisplayString} from '@libs/CurrencyUtils';
import {getCommaSeparatedTagNameWithSanitizedColons} from '@libs/PolicyUtils';
Expand Down Expand Up @@ -63,7 +65,9 @@ function MoneyRequestReportGroupHeader({
pendingAction,
}: MoneyRequestReportGroupHeaderProps) {
const styles = useThemeStyles();
const theme = useTheme();
const {translate} = useLocalize();
const {isLargeScreenWidth} = useResponsiveLayout();
const {shouldUseNarrowLayout} = useResponsiveLayoutOnWideRHP();

const cleanedGroupName = isGroupedByTag && group.groupName ? getCommaSeparatedTagNameWithSanitizedColons(group.groupName) : group.groupName;
Expand All @@ -73,7 +77,7 @@ function MoneyRequestReportGroupHeader({
const shouldShowCheckbox = isSelectionModeEnabled || !shouldUseNarrowLayout;

const conditionalHeight = useMemo(
() => (shouldUseNarrowLayout ? {height: shouldShowCheckbox ? MOBILE_HEIGHT_WITH_CHECKBOX : MOBILE_HEIGHT_WITHOUT_CHECKBOX} : {height: DESKTOP_HEIGHT, minHeight: DESKTOP_HEIGHT}),
() => (shouldUseNarrowLayout ? {height: shouldShowCheckbox ? MOBILE_HEIGHT_WITH_CHECKBOX : MOBILE_HEIGHT_WITHOUT_CHECKBOX} : {minHeight: 40}),
[shouldUseNarrowLayout, shouldShowCheckbox],
);

Expand All @@ -91,7 +95,7 @@ function MoneyRequestReportGroupHeader({

return (
<OfflineWithFeedback pendingAction={pendingAction}>
<View style={[styles.reportLayoutGroupHeader, conditionalHeight]}>
<View style={[styles.reportLayoutGroupHeader, conditionalHeight, isLargeScreenWidth && {borderBottomWidth: 1, borderColor: theme.border}]}>
<View style={[styles.flexRow, styles.alignItemsCenter, styles.flex1]}>
{shouldShowCheckbox && (
<Checkbox
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ type MoneyRequestReportTransactionItemProps = {

/** Whether this transaction should be highlighted as newly added */
shouldBeHighlighted: boolean;

/** Whether this is the last item in the list (used for bottom border radius) */
isLastItem?: boolean;
};

function MoneyRequestReportTransactionItem({
Expand All @@ -84,11 +87,12 @@ function MoneyRequestReportTransactionItem({
scrollToNewTransaction,
onArrowRightPress,
shouldBeHighlighted,
isLastItem,
}: MoneyRequestReportTransactionItemProps) {
const {translate} = useLocalize();
const styles = useThemeStyles();
// eslint-disable-next-line rulesdir/prefer-shouldUseNarrowLayout-instead-of-isSmallScreenWidth
const {isSmallScreenWidth, isMediumScreenWidth} = useResponsiveLayout();
const {isSmallScreenWidth, isMediumScreenWidth, isLargeScreenWidth} = useResponsiveLayout();
const {shouldUseNarrowLayout} = useResponsiveLayoutOnWideRHP();
const theme = useTheme();
const isPendingDelete = isTransactionPendingDelete(transaction);
Expand Down Expand Up @@ -127,7 +131,10 @@ function MoneyRequestReportTransactionItem({
role={getButtonRole(true)}
isNested
id={transaction.transactionID}
style={[styles.transactionListItemStyle]}
style={[
styles.transactionListItemStyle,
isLargeScreenWidth && {minHeight: variables.tableRowHeight, borderRadius: 0, ...(isLastItem ? {borderBottomLeftRadius: 8, borderBottomRightRadius: 8} : {})},
]}
hoverStyle={[!isPendingDelete && styles.hoveredComponentBG, isSelected && styles.activeComponentBG]}
dataSet={{[CONST.SELECTION_SCRAPER_HIDDEN_ELEMENT]: true}}
onPressIn={() => canUseTouchScreen() && ControlSelection.block()}
Expand All @@ -137,7 +144,12 @@ function MoneyRequestReportTransactionItem({
}}
disabled={isTransactionPendingDelete(transaction)}
ref={viewRef}
wrapperStyle={[animatedHighlightStyle, styles.userSelectNone]}
wrapperStyle={[
animatedHighlightStyle,
styles.userSelectNone,
isLargeScreenWidth && {borderRadius: 0, borderBottomWidth: isLastItem ? 0 : 1, borderColor: theme.border},
isLargeScreenWidth && isLastItem && {borderBottomLeftRadius: 8, borderBottomRightRadius: 8},
]}
>
{({hovered}) => (
<TransactionItemRow
Expand All @@ -155,7 +167,12 @@ function MoneyRequestReportTransactionItem({
onCheckboxPress={toggleTransaction}
columns={columns}
isDisabled={isPendingDelete}
style={[styles.p3]}
style={[
styles.p3,
isLargeScreenWidth && styles.pv2,
isLargeScreenWidth && styles.noBorderRadius,
isLargeScreenWidth && isLastItem && {borderBottomLeftRadius: 8, borderBottomRightRadius: 8},
]}
onButtonPress={() => {
handleOnPress(transaction.transactionID);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import useOnyx from '@hooks/useOnyx';
import useReportIsArchived from '@hooks/useReportIsArchived';
import useResponsiveLayout from '@hooks/useResponsiveLayout';
import useResponsiveLayoutOnWideRHP from '@hooks/useResponsiveLayoutOnWideRHP';
import useStyleUtils from '@hooks/useStyleUtils';
import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
import useWindowDimensions from '@hooks/useWindowDimensions';
import {turnOnMobileSelectionMode} from '@libs/actions/MobileSelectionMode';
Expand Down Expand Up @@ -59,7 +59,6 @@ import {getAmount, getCategory, getCreated, getMerchant, getTag, getTransactionP
import shouldShowTransactionYear from '@libs/TransactionUtils/shouldShowTransactionYear';
import Navigation from '@navigation/Navigation';
import type {ReportsSplitNavigatorParamList} from '@navigation/types';
import variables from '@styles/variables';
import {createTransactionThreadReport} from '@userActions/Report';
import CONST from '@src/CONST';
import type {TranslationPaths} from '@src/languages/types';
Expand Down Expand Up @@ -165,11 +164,11 @@ function MoneyRequestReportTransactionList({
}: MoneyRequestReportTransactionListProps) {
useCopySelectionHelper();
const styles = useThemeStyles();
const StyleUtils = useStyleUtils();
const theme = useTheme();
const expensifyIcons = useMemoizedLazyExpensifyIcons(['Location', 'CheckSquare', 'ReceiptPlus', 'Columns']);
const {translate, localeCompare} = useLocalize();
// eslint-disable-next-line rulesdir/prefer-shouldUseNarrowLayout-instead-of-isSmallScreenWidth
const {isSmallScreenWidth, isMediumScreenWidth} = useResponsiveLayout();
const {isSmallScreenWidth, isMediumScreenWidth, isLargeScreenWidth} = useResponsiveLayout();
const {shouldUseNarrowLayout} = useResponsiveLayoutOnWideRHP();
const {markReportIDAsExpense} = useWideRHPActions();
const [isModalVisible, setIsModalVisible] = useState(false);
Expand Down Expand Up @@ -528,22 +527,23 @@ function MoneyRequestReportTransactionList({

const transactionListContent = (
<View
style={[listHorizontalPadding, styles.gap2, styles.pb4, styles.mb2]}
style={[listHorizontalPadding, !isLargeScreenWidth && styles.gap2]}
onLayout={onLayout}
>
{shouldShowGroupedTransactions
? groupedTransactions.map((group) => {
? groupedTransactions.map((group, groupIndex) => {
const selectionState = groupSelectionState.get(group.groupKey) ?? {
isSelected: false,
isIndeterminate: false,
isDisabled: false,
pendingAction: undefined,
};
const isLastGroup = groupIndex === groupedTransactions.length - 1;

return (
<View
key={group.groupKey}
style={styles.gap2}
style={!isLargeScreenWidth ? styles.gap2 : undefined}
>
<MoneyRequestReportGroupHeader
group={group}
Expand All @@ -557,7 +557,7 @@ function MoneyRequestReportTransactionList({
onToggleSelection={toggleGroupSelection}
pendingAction={selectionState.pendingAction}
/>
{group.transactions.map((transaction) => {
{group.transactions.map((transaction, transactionIndex) => {
return (
<MoneyRequestReportTransactionItem
key={transaction.transactionID}
Expand All @@ -576,13 +576,14 @@ function MoneyRequestReportTransactionList({
taxAmountColumnSize={taxAmountColumnSize}
scrollToNewTransaction={transaction.transactionID === newTransactions?.at(0)?.transactionID ? scrollToNewTransaction : undefined}
onArrowRightPress={handleArrowRightPress}
isLastItem={isLastGroup && transactionIndex === group.transactions.length - 1}
/>
);
})}
</View>
);
})
: sortedTransactions.map((transaction) => (
: sortedTransactions.map((transaction, index) => (
<MoneyRequestReportTransactionItem
key={transaction.transactionID}
transaction={transaction}
Expand All @@ -600,15 +601,30 @@ function MoneyRequestReportTransactionList({
taxAmountColumnSize={taxAmountColumnSize}
scrollToNewTransaction={transaction.transactionID === newTransactions?.at(0)?.transactionID ? scrollToNewTransaction : undefined}
onArrowRightPress={handleArrowRightPress}
isLastItem={index === sortedTransactions.length - 1}
/>
))}
</View>
);

const tableHeaderContent = (
<OfflineWithFeedback pendingAction={reportPendingAction}>
<View style={[styles.dFlex, styles.flexRow, styles.pl5, styles.pr16, styles.alignItemsCenter]}>
<View style={[styles.dFlex, styles.flexRow, styles.pv2, styles.pr4, StyleUtils.getPaddingLeft(variables.w12)]}>
<View
style={[
styles.dFlex,
styles.flexRow,
styles.mh5,
styles.pv2,
styles.pl3,
styles.pr11,
styles.mnh40,
styles.alignItemsCenter,
styles.gap3,
styles.highlightBG,
{borderTopLeftRadius: 8, borderTopRightRadius: 8, borderBottomWidth: 1, borderColor: theme.border},
]}
>
<View style={[styles.dFlex, styles.flexRow]}>
<Checkbox
onPress={() => {
if (selectedTransactionIDs.length !== 0) {
Expand Down
6 changes: 3 additions & 3 deletions src/components/ReportActionAvatars/SearchReportAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function SearchReportAvatar({primaryAvatar, secondaryAvatar, avatarType, shouldS
<ReportActionAvatar.Subscript
primaryAvatar={primaryAvatar}
secondaryAvatar={secondaryAvatar}
size={CONST.AVATAR_SIZE.DEFAULT}
size={CONST.AVATAR_SIZE.SMALL}
shouldShowTooltip={shouldShowTooltip}
noRightMarginOnContainer={false}
subscriptAvatarBorderColor={subscriptAvatarBorderColor}
Expand All @@ -37,7 +37,7 @@ function SearchReportAvatar({primaryAvatar, secondaryAvatar, avatarType, shouldS
return (
<ReportActionAvatar.Multiple.Diagonal
icons={[primaryAvatar, secondaryAvatar]}
size={CONST.AVATAR_SIZE.DEFAULT}
size={CONST.AVATAR_SIZE.SMALL}
shouldShowTooltip={shouldShowTooltip}
isInReportAction={false}
useMidSubscriptSize={false}
Expand All @@ -49,7 +49,7 @@ function SearchReportAvatar({primaryAvatar, secondaryAvatar, avatarType, shouldS
return (
<ReportActionAvatar.Single
avatar={primaryAvatar}
size={CONST.AVATAR_SIZE.DEFAULT}
size={CONST.AVATAR_SIZE.SMALL}
shouldShowTooltip={shouldShowTooltip}
accountID={Number(primaryAvatar?.id ?? CONST.DEFAULT_NUMBER_ID)}
fallbackIcon={primaryAvatar?.fallbackIcon}
Expand Down
2 changes: 2 additions & 0 deletions src/components/ReportSearchHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {View} from 'react-native';
import AvatarWithDisplayName from '@components/AvatarWithDisplayName';
import useResponsiveLayout from '@hooks/useResponsiveLayout';
import useThemeStyles from '@hooks/useThemeStyles';
import CONST from '@src/CONST';
import type ReportSearchHeaderProps from './types';

function ReportSearchHeader({report, style, transactions, avatarBorderColor}: ReportSearchHeaderProps) {
Expand All @@ -23,6 +24,7 @@ function ReportSearchHeader({report, style, transactions, avatarBorderColor}: Re
shouldEnableDetailPageNavigation={false}
shouldEnableAvatarNavigation={false}
avatarBorderColor={avatarBorderColor}
size={CONST.AVATAR_SIZE.SMALL}
customDisplayNameStyle={styles.fontWeightNormal}
parentNavigationSubtitleTextStyles={[styles.textLineHeightNormal, styles.minHeight4, styles.mt1, !isLargeScreenWidth && styles.textMicro]}
parentNavigationStatusContainerStyles={statusContainerStyle}
Expand Down
Loading
Loading