From 1e3af8310048f031b5ddca525044b4b1233faa1b Mon Sep 17 00:00:00 2001 From: Arul Sharma <31745423+arul28@users.noreply.github.com> Date: Mon, 27 Jul 2026 02:51:01 -0400 Subject: [PATCH] Shrink the new-chat ADE logo instead of clipping the hero column MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The empty-state logo box is `aspect-ratio: 560/300` + `w-full`, so its height was purely width-derived and never responded to vertical space. The hero column had no definite height either, so flex-shrink never engaged: in a short window the whole column overflowed its `overflow-hidden` wrapper and clipped at BOTH ends — the top of the logo and the bottom of the activity module. Make the logo the one flexible row. The column now caps itself with `max-h-full`, every sibling is `shrink-0`, and the logo carries an explicit `min-h-[56px]` — which is what actually enables shrinking, since it overrides the `min-height: auto` that an aspect-ratio box transfers from its width. The optical lift moves from `-mt-10` on the column into the wrapper's padding (96px + 40px = 136px). A negative margin escapes the `max-h-full` cap and would push the column's top back out of the clip, so the two are incompatible. With `align-items: center` the -40px margin yielded a 20px effective lift, and the padding form reproduces the resting position exactly: verified pixel-identical at 1400x1000 before and after. Co-Authored-By: Claude --- .../components/chat/AgentChatPane.tsx | 25 ++++++++++++------- docs/features/chat/composer-and-ui.md | 9 +++++++ 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/apps/desktop/src/renderer/components/chat/AgentChatPane.tsx b/apps/desktop/src/renderer/components/chat/AgentChatPane.tsx index 2ae338f42..7b801eb19 100644 --- a/apps/desktop/src/renderer/components/chat/AgentChatPane.tsx +++ b/apps/desktop/src/renderer/components/chat/AgentChatPane.tsx @@ -11934,15 +11934,22 @@ export function AgentChatPane({ >
-

+

{isOrchestratorDraft ? "Orchestrate a swarm of agents" : "Start a new conversation"}

{/* Lane selector pill */} {showWorkspaceChrome && draftLaneSelectorLanes.length > 0 && onLaneChange ? (
@@ -12023,7 +12030,7 @@ export function AgentChatPane({ ) : showWorkspaceChrome && laneDisplayLabel ? ( @@ -12043,14 +12050,14 @@ export function AgentChatPane({ {/* Inline composer for empty state (only when sim drawer closed) */} {!appPanelOpen ? ( -
+
{composerWithTypographyRoot}
) : null} {isWorkDraftComposer && !appPanelOpen ? (