feat(agent): render local interactive answers and fold completed process
This commit is contained in:
@@ -1808,3 +1808,22 @@ details[open] > summary > .disclosure-accordion-indicator {
|
||||
border-radius: 8px 0 0 0 !important;
|
||||
color: #475569 !important;
|
||||
}
|
||||
|
||||
/* Keep the conversation composer readable in resizable chat panels. */
|
||||
.agent-panel-shell form.agent-panel-control textarea,
|
||||
.agent-panel-overlay form.agent-panel-control textarea {
|
||||
min-height: 96px;
|
||||
max-height: clamp(96px, 24dvh, 192px);
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
/* Locally registered answer components adapt to the resizable chat panel. */
|
||||
.answer-ui-root { container-type: inline-size; min-width: 0; overflow-wrap: anywhere; }
|
||||
.answer-ui-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
|
||||
.answer-ui-stack-compact { gap: 8px; }
|
||||
.answer-ui-section { min-width: 0; padding-top: 12px; border-top: 1px solid var(--surface-divider); }
|
||||
.answer-ui-evidence { border-top: 1px solid var(--surface-divider); }
|
||||
.answer-ui-form { padding: 12px; border: 1px solid var(--surface-divider); border-radius: 12px; background: var(--surface-subtle); }
|
||||
@container (min-width: 440px) {
|
||||
.answer-ui-stack-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user