A local-first personal finance app
fix(reports-table): ensure group row background spans full width (#6418)
Lee Kyeong Joon71fe875462b7
diff --git a/packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableRow.tsx b/packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableRow.tsxindex 6fcf995456..84b2043c86 100644--- a/packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableRow.tsx+++ b/packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableRow.tsx@@ -119,6 +119,7 @@ export const ReportTableRow = memo(style={{flexDirection: 'row',flex: 1,+ backgroundColor: style?.backgroundColor,...totalStyle,}}>@@ -129,6 +130,7 @@ export const ReportTableRow = memo(width: compact ? 80 : 125,flexShrink: 0,flexGrow: 1,+ backgroundColor: style?.backgroundColor,}}valueStyle={compactStyle}/>@@ -140,6 +142,7 @@ export const ReportTableRow = memo(textAlign="right"style={{minWidth: compact ? 50 : 85,+ backgroundColor: style?.backgroundColor,...(colorized && {color: getAmountColor(intervalItem[balanceTypeOp]),}),@@ -202,6 +205,7 @@ export const ReportTableRow = memo(privacyFilterstyle={{minWidth: compact ? 50 : 85,+ backgroundColor: style?.backgroundColor,...(colorized && {color: getAmountColor(item.totalAssets),}),@@ -251,6 +255,7 @@ export const ReportTableRow = memo(privacyFilterstyle={{minWidth: compact ? 50 : 85,+ backgroundColor: style?.backgroundColor,...(colorized && {color: getAmountColor(item.totalDebts),}),@@ -301,6 +306,7 @@ export const ReportTableRow = memo(style={{fontWeight: 600,minWidth: compact ? 50 : 85,+ backgroundColor: style?.backgroundColor,...(colorized && { color: getAmountColor(item[balanceTypeOp]) }),}}unexposedContent={({ value }) => (@@ -349,6 +355,7 @@ export const ReportTableRow = memo(style={{fontWeight: 600,minWidth: compact ? 50 : 85,+ backgroundColor: style?.backgroundColor,...(colorized && { color: getAmountColor(average) }),}}valueStyle={compactStyle}diff --git a/upcoming-release-notes/6418.md b/upcoming-release-notes/6418.mdnew file mode 100644index 0000000000..fc3da70cf0--- /dev/null+++ b/upcoming-release-notes/6418.md@@ -0,0 +1,6 @@+---+category: Bugfix+authors: [KyeongJooni]+---++Fix data table custom report group row coloring when scrolling horizontally