From e205c444487639ae8ab241d25f201deab28acf3e Mon Sep 17 00:00:00 2001 From: chihlasm Date: Mon, 23 Mar 2026 12:09:05 +0000 Subject: [PATCH] fix: FlowPilot action bar single-row layout on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Action bar was flex-col on mobile, creating two rows that covered the message input. Now a single horizontal row on all screen sizes — Resolve and Escalate always show labels, secondary actions (Pause, Close, Update) show icon-only on mobile. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../flowpilot/FlowPilotActionBar.tsx | 96 ++++++++++--------- 1 file changed, 49 insertions(+), 47 deletions(-) diff --git a/frontend/src/components/flowpilot/FlowPilotActionBar.tsx b/frontend/src/components/flowpilot/FlowPilotActionBar.tsx index aa98ff48..44f517ab 100644 --- a/frontend/src/components/flowpilot/FlowPilotActionBar.tsx +++ b/frontend/src/components/flowpilot/FlowPilotActionBar.tsx @@ -82,62 +82,64 @@ export function FlowPilotActionBar({ return ( <> - {/* Bottom bar — fixed to viewport bottom, works regardless of height chain */} + {/* Bottom bar — fixed to viewport bottom, single row on all screen sizes */}
-
+ {/* Primary actions */} + + + {canShareUpdate && onGenerateStatusUpdate && ( + )} + + {/* Spacer */} +
+ + {/* Secondary actions — right side */} + {onPause && ( - {canShareUpdate && onGenerateStatusUpdate && ( - - )} -
-
- {onPause && ( - - )} - {onAbandon && ( - - )} -
+ )} + {onAbandon && ( + + )}
{/* Resolve modal */}