Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/clips/desktop/src/lib/ask-sheet-layout.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
54 changes: 54 additions & 0 deletions templates/clips/desktop/src/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Loading