diff --git a/packages/ui/src/features/sessions/components/SessionView.tsx b/packages/ui/src/features/sessions/components/SessionView.tsx index 5c84aaefa6..0811cef550 100644 --- a/packages/ui/src/features/sessions/components/SessionView.tsx +++ b/packages/ui/src/features/sessions/components/SessionView.tsx @@ -125,6 +125,11 @@ function ComposerWidth({ * Input region replacing the composer: `shrink-0` keeps it from being * compressed by the scroller above, and `min-h-0 overflow-y-auto` lets tall * content scroll inside itself. + * + * In compact mode (command center), the slot is height-capped at 50% of the + * parent so a tall question prompt cannot push the ThreadView out of view. + * The `shrink-0` is intentionally dropped for compact mode so the flex parent + * can keep the thread visible. */ function ComposerSlot({ compact, @@ -134,7 +139,13 @@ function ComposerSlot({ children: React.ReactNode; }) { return ( - + {children} );