From a653c8e0397286dd35b40c1b5e1fec5b17fe636b Mon Sep 17 00:00:00 2001 From: Matt Ciaccio Date: Fri, 1 May 2026 15:48:51 +0200 Subject: [PATCH] fix(mobile): wrap detail-header actions on narrow viewports Action buttons in entity detail headers (Invite/GDPR/Archive on clients, similar sets elsewhere) overflowed off-screen at 393px because the actions row was flex without flex-wrap. Adds flex-wrap so buttons drop to a second/third row instead of clipping. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/components/berths/berth-detail-header.tsx | 2 +- src/components/clients/client-detail-header.tsx | 2 +- src/components/companies/company-detail-header.tsx | 2 +- src/components/yachts/yacht-detail-header.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/berths/berth-detail-header.tsx b/src/components/berths/berth-detail-header.tsx index cd635b3..5df6750 100644 --- a/src/components/berths/berth-detail-header.tsx +++ b/src/components/berths/berth-detail-header.tsx @@ -180,7 +180,7 @@ export function BerthDetailHeader({ berth }: BerthDetailHeaderProps) { {berth.area &&

{berth.area}

} -
+
{/* Actions */} -
+
{!isArchived && client.clientPortalEnabled !== false && ( {/* Actions */} -
+
{/* Actions */} -
+