From 78d45d2ebcf841d35a4488f5cff84e9fbf0c11d8 Mon Sep 17 00:00:00 2001 From: 3mdistal <86723305+3mdistal@users.noreply.github.com> Date: Wed, 18 Nov 2026 17:07:29 -0500 Subject: [PATCH] Show the meeting pill's answer as its ask sheet opens The pill's ask box was the shared three-row composer, so once a question was sent the open sheet had no room left for the answer, even dragged to its maximum. Lay the box out as one row with the meeting chip hidden, scale the answer list's spacing to the pill, and open the sheet at 60% instead of 45%. --- .../clips/desktop/src/lib/ask-sheet-layout.ts | 2 +- templates/clips/desktop/src/tailwind.css | 54 +++++++++++++++++++ 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/templates/clips/desktop/src/lib/ask-sheet-layout.ts b/templates/clips/desktop/src/lib/ask-sheet-layout.ts index 5091471311a..1020bad21cf 100644 --- a/templates/clips/desktop/src/lib/ask-sheet-layout.ts +++ b/templates/clips/desktop/src/lib/ask-sheet-layout.ts @@ -1,4 +1,4 @@ -export const ASK_SHEET_DEFAULT = 0.45; +export const ASK_SHEET_DEFAULT = 0.6; export const ASK_SHEET_MIN = 0.2; export const ASK_SHEET_MAX = 0.7; export const TRANSCRIPT_MIN_PX = 104; diff --git a/templates/clips/desktop/src/tailwind.css b/templates/clips/desktop/src/tailwind.css index da4254b95f3..7e2d220360b 100644 --- a/templates/clips/desktop/src/tailwind.css +++ b/templates/clips/desktop/src/tailwind.css @@ -83,6 +83,60 @@ display: none; } +/* The pill's composer is one row, as its old ask bar was: the field, then the + mic and send button. Every pill question is about the live meeting, so the + meeting's context chip stays attached but hidden. That leaves the open sheet + room for the answer without growing the meeting window. */ +.pill-agentkit-chat .agentkit-chat-footer { + padding-block-end: 8px; +} + +.pill-agentkit-composer [data-agent-composer-slot="area"] { + padding-block: 4px; +} + +.pill-agentkit-composer [data-agent-composer-slot="root"] { + flex-direction: row; + align-items: flex-end; +} + +.pill-agentkit-composer + :is( + [data-agent-composer-slot="context-row"], + [data-agent-composer-slot="toolbar-spacer"] + ) { + display: none; +} + +.pill-agentkit-composer [data-agent-composer-slot="editor-wrap"] { + flex: 1; + min-width: 0; + padding-block: 6px; +} + +.pill-agentkit-composer [data-agent-composer-slot="toolbar"] { + flex-shrink: 0; + padding-block: 3px; + padding-inline-start: 0; +} + +/* The answer list keeps the chat's spacing at the pill's scale, so a short + answer and its actions fit the sheet as it opens. */ +.pill-agentkit-chat { + --agentkit-transcript-top-inset: 8px; + --agentkit-transcript-message-gap: 12px; +} + +.pill-agentkit-chat .agentkit-transcript-content { + padding-block-end: 4px; +} + +.pill-agentkit-chat + .agentkit-transcript-content + > .agentkit-message[data-role="assistant"]:last-of-type { + margin-block-end: 0; +} + @layer agentkit-base { :where(.pill-agentkit-chat, .agentkit-tokens) :where(*, ::before, ::after, ::backdrop, ::file-selector-button) {