Replace the bespoke SVG Sankey with recharts' <Sankey> inside a ResponsiveContainer so the money-flow chart fits the viewport instead of forcing a fixed-min-width horizontal scroll (broken on mobile). Keeps: income -> cashflow -> expense flow, small-category 'Other' grouping, privacy-mode masking, and click-through to a category's transactions. Drops: subcategory drill-down (expand/collapse) and the 'Other' popover breakdown; the per-category detail already lives in the breakdown cards below the chart. |
||
|---|---|---|
| .. | ||
| css | ||
| js | ||
| views | ||