mega-plant/app/expenses
David dc7024d98a Fix: the mobile table was mislabelled and clipping its own totals
A screenshot at phone width showed an "INVOICE | LINES | TOTAL | STATUS"
header row while the data under LINES was money. The header and its data cell
had drifted apart: the earlier pass hid the Lines <td> but not the matching
<th>, because the loop that added the hide classes only matched text-left
headers and Lines is text-right. So the Total values rendered under a heading
that named a column which no longer existed.

The same screenshot showed the totals clipped — "41,710.50" reading as
"710,50". With only three columns left, the 520px min-width was still forcing
a sideways scroll, and the opaque sticky first column then sat on top of the
left of the money values. The mobile floor is gone, so the three remaining
columns size to their content, and the sticky and status gutters are trimmed
at mobile widths to let them fit 375px.

Below sm the table is now exactly Invoice, Total, Status — and every header
matches a visible cell.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-02 15:34:19 +02:00
..
finance Round 4: regressions fixed + mobile standard 2026-09-12 12:05:43 +02:00
personnel Round 4: regressions fixed + mobile standard 2026-09-12 12:05:43 +02:00
petty-cash Round 4: regressions fixed + mobile standard 2026-09-12 12:05:43 +02:00
rent Round 4: regressions fixed + mobile standard 2026-09-12 12:05:43 +02:00
subscriptions Round 4: regressions fixed + mobile standard 2026-09-12 12:05:43 +02:00
vehicles Round 4: regressions fixed + mobile standard 2026-09-12 12:05:43 +02:00
page.tsx Fix: the mobile table was mislabelled and clipping its own totals 2026-10-02 15:34:19 +02:00