From bfd2c59ad350d3bae4bd9bb2c66914146a1d4ddf Mon Sep 17 00:00:00 2001 From: BOHA Date: Wed, 10 Jun 2026 20:21:29 +0200 Subject: [PATCH] fix(ui): detail-form headers no longer overflow on mobile Two causes: theme h4 had no responsive size (desktop 2.125rem on phones - now 1.5rem under 600px, applies to all page headlines), and the Zpet+title header row had no flexWrap so long document titles pushed past the viewport (issued orders, offers, both invoice views). Co-Authored-By: Claude Fable 5 --- src/admin/pages/InvoiceDetail.tsx | 22 ++++++++++++++++++++-- src/admin/pages/IssuedOrderDetail.tsx | 11 ++++++++++- src/admin/pages/OfferDetail.tsx | 11 ++++++++++- src/admin/theme.ts | 8 +++++++- 4 files changed, 47 insertions(+), 5 deletions(-) diff --git a/src/admin/pages/InvoiceDetail.tsx b/src/admin/pages/InvoiceDetail.tsx index 8eef025..6656079 100644 --- a/src/admin/pages/InvoiceDetail.tsx +++ b/src/admin/pages/InvoiceDetail.tsx @@ -1163,7 +1163,16 @@ export default function InvoiceDetail() { mb: 3, }} > - + {/* flexWrap: long document titles must drop below the Zpět button + on phones instead of overflowing the viewport. */} +