update new session dialog
This commit is contained in:
parent
23a2de8fac
commit
6d21f142af
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Reference in New Issue