update new session dialog

This commit is contained in:
Levi Neely 2026-05-21 19:13:20 +02:00
parent 23a2de8fac
commit 6d21f142af
2 changed files with 10 additions and 1 deletions

View File

@ -106,7 +106,7 @@ export function App() {
}, [selectedId]) }, [selectedId])
const handleCreate = useCallback(async (params: { const handleCreate = useCallback(async (params: {
cwd: string; backend: string; model: string; agent: string name?: string; cwd: string; backend: string; model: string; agent: string
}) => { }) => {
await createSession(params) await createSession(params)
setShowNew(false) setShowNew(false)

View File

@ -700,6 +700,8 @@ details[open] > .tool-header::before {
border-radius: var(--r-xl); border-radius: var(--r-xl);
padding: 28px; padding: 28px;
width: min(460px, 100%); width: min(460px, 100%);
max-height: 85vh;
overflow-y: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 22px; gap: 22px;
@ -771,6 +773,13 @@ details[open] > .tool-header::before {
justify-content: flex-end; justify-content: flex-end;
} }
.advanced-section summary {
cursor: pointer;
color: var(--text-dim);
font-size: 0.85rem;
}
.advanced-section summary:hover { color: var(--text); }
/* ---- Acme theme overrides ---- */ /* ---- Acme theme overrides ---- */
[data-theme="acme"] .message-list { [data-theme="acme"] .message-list {
padding: 8px 16px 8px; padding: 8px 16px 8px;