From 5337cd75f784e8f4cfe38d0a96c9290595822518 Mon Sep 17 00:00:00 2001 From: matt Date: Thu, 21 Nov 2024 21:08:16 +0000 Subject: [PATCH 1/2] allow report table columns to grow to fit --- .../components/reports/graphs/tableGraph/ReportTableHeader.tsx | 1 + .../src/components/reports/graphs/tableGraph/ReportTableRow.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableHeader.tsx b/packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableHeader.tsx index 0b7eb0790f2..7066ebdba28 100644 --- a/packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableHeader.tsx +++ b/packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableHeader.tsx @@ -70,6 +70,7 @@ export function ReportTableHeader({ style={{ width: compact ? 80 : 125, flexShrink: 0, + flexGrow: 1, }} valueStyle={compactStyle} value={ diff --git a/packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableRow.tsx b/packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableRow.tsx index 2bfce1c38fd..b4e536ef298 100644 --- a/packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableRow.tsx +++ b/packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableRow.tsx @@ -123,6 +123,7 @@ export const ReportTableRow = memo( style={{ width: compact ? 80 : 125, flexShrink: 0, + flexGrow: 1, }} valueStyle={compactStyle} /> From 3e96a7366220b7203b3a6ec24b0403e83b3de1ad Mon Sep 17 00:00:00 2001 From: matt Date: Thu, 21 Nov 2024 21:09:23 +0000 Subject: [PATCH 2/2] note --- upcoming-release-notes/3872.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 upcoming-release-notes/3872.md diff --git a/upcoming-release-notes/3872.md b/upcoming-release-notes/3872.md new file mode 100644 index 00000000000..36b7eb872a9 --- /dev/null +++ b/upcoming-release-notes/3872.md @@ -0,0 +1,6 @@ +--- +category: Enhancements +authors: [matt-fidd] +--- + +Allow report table columns to grow to fit available space