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) <noreply@anthropic.com>
This commit is contained in:
Matt Ciaccio
2026-05-01 15:48:51 +02:00
parent 7e8110b2ff
commit a653c8e039
4 changed files with 4 additions and 4 deletions

View File

@@ -115,7 +115,7 @@ export function ClientDetailHeader({ client }: ClientDetailHeaderProps) {
</div>
{/* Actions */}
<div className="flex items-center gap-2">
<div className="flex flex-wrap items-center gap-2">
{!isArchived && client.clientPortalEnabled !== false && (
<PortalInviteButton
clientId={client.id}