mega-plant/app
David 999feb37fa Mobile: make the invoice tables readable at 375px
Audited the invoice UI against the Round 4 checklist and fixed four things.

The summary table carried eight columns at a fixed 820px min-width, which at
375px is a long sideways scroll through three figures before reaching the
status badge — the one thing that needs acting on. Below sm it now keeps only
Invoice, Site, Total and Status, and drops to a 520px min-width, so the useful
columns are readable without scrolling. Period, line count and the ex-VAT/VAT
split are one tap away in the expanded detail, and the full eight columns
return from sm up where there is room.

The summary table also had no right-edge fade. Rule 4 asks for a visible
affordance on any wide table and it was simply missing, so scrolling sideways
looked like the table ended. Same for the month grid on /income, which was also
missing -webkit-overflow-scrolling. Both now share components/ScrollFade.

Two 10px labels in the app header ("Overheads 2026", "FY") were invisible at
375px but visible from 640/768px — and 768x1024 is one of the two sizes the
checklist tests, so they were a rule-2 violation at tablet width. Bumped to
12px. PlantRegisterTable's 10px filter count was checked and left alone: it
sits inside hidden lg:flex, so it never renders on mobile.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-02 15:29:00 +02:00
..
api Invoices: a duplicate is a notice, not a broken invoice 2026-10-02 14:59:08 +02:00
charts Round 4: regressions fixed + mobile standard 2026-09-12 12:05:43 +02:00
expenses Round 4: regressions fixed + mobile standard 2026-09-12 12:05:43 +02:00
income Invoices: Add Invoice becomes a real dialog; quieten the invoice table 2026-10-02 14:35:27 +02:00
overheads Round 4: regressions fixed + mobile standard 2026-09-12 12:05:43 +02:00
plant Plant Register: inline editing, active toggle and cascade-delete impact 2026-10-01 15:59:51 +02:00
running Round 4: regressions fixed + mobile standard 2026-09-12 12:05:43 +02:00
globals.css Round 3 (Parts A-B): charts fixes + expenses/overheads cleanup 2026-09-12 11:24:18 +02:00
layout.tsx Mobile: make the invoice tables readable at 375px 2026-10-02 15:29:00 +02:00
page.tsx Round 4: regressions fixed + mobile standard 2026-09-12 12:05:43 +02:00