diff --git a/openframe-frontend-core/src/components/chat/chat-panel-header-mobile.tsx b/openframe-frontend-core/src/components/chat/chat-panel-header-mobile.tsx index 06a241686..fa4a37d2a 100644 --- a/openframe-frontend-core/src/components/chat/chat-panel-header-mobile.tsx +++ b/openframe-frontend-core/src/components/chat/chat-panel-header-mobile.tsx @@ -26,7 +26,9 @@ export interface ChatPanelHeaderMobileProps extends ChatPanelHeaderProps { * without it the panel cannot be dismissed at all. * * Same prop contract as `ChatPanelHeader`; the orchestrator renders this on - * mobile and the desktop bar on `md+`. + * mobile and the desktop bar on `md+`. Pass `compact` to trade the + * full-screen-drawer spacing above for a tighter, vertically-centered row + * (see `compact`'s doc on `ChatPanelHeaderProps`). */ export function ChatPanelHeaderMobile({ showBack = false, @@ -40,6 +42,7 @@ export function ChatPanelHeaderMobile({ onArchive, onOpenArchive, className, + compact = false, }: ChatPanelHeaderMobileProps) { // The right-hand ⋯ menu carries the view-dependent actions. Close is not // listed (the panel is dismissed elsewhere); the trigger is hidden entirely @@ -55,11 +58,12 @@ export function ChatPanelHeaderMobile({