From 1e155f6ffbb3f2f15b674503a7e506c85930c5a8 Mon Sep 17 00:00:00 2001 From: BOHA Date: Sun, 7 Jun 2026 16:05:32 +0200 Subject: [PATCH] fix(ui): wrap action-button groups so they don't clip on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since kit buttons now keep their natural width (flexShrink:0 + nowrap), a row of them can't shrink — so button groups that were flexShrink:0 with no wrap got clipped on phones (the page has overflow-x:hidden). The draft-concept Alert actions (Offers + Invoices) and the shared PageHeader actions now use flexWrap:wrap and drop flexShrink:0, so the group conforms to the available width and its buttons wrap onto stacked lines. Verified at 430px: the Offers draft alert no longer overflows (buttons stack), page has no horizontal scroll. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/admin/pages/Invoices.tsx | 8 +++++++- src/admin/pages/Offers.tsx | 8 +++++++- src/admin/ui/PageHeader.tsx | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/admin/pages/Invoices.tsx b/src/admin/pages/Invoices.tsx index 7f067e9..9ed4137 100644 --- a/src/admin/pages/Invoices.tsx +++ b/src/admin/pages/Invoices.tsx @@ -794,7 +794,13 @@ export default function Invoices() { : "—"} - +