fix(agents): optically center the full-page New Task prompt (#5849)

Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-25 17:20:44 +08:00
1 джерело b9a5b8d90b
коміт 06bd43e46f
1 file changed
+14 -7
+14 -7
Переглянути файл
@@ -8,13 +8,13 @@
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding: var(--space-4);
justify-content: center;
padding: 24px 24px 12vh;
background: var(--bg-editor);
color: var(--fg);
}
.inner {
/* A compact block at the top of the editor: narrower than a session's conversation. */
/* A compact block in the middle of the page: narrower than a session's conversation. */
width: min(680px, 100%);
display: flex;
flex-direction: column;
@@ -24,12 +24,14 @@
width: 100%;
}
.heading {
margin: 0;
padding: 0 4px;
font-size: var(--agent-fs-ui);
font-weight: 600;
margin: 0 0 10px;
font-size: calc(18px + var(--agent-font-zoom, 0px));
font-weight: 500;
letter-spacing: -0.01em;
line-height: 1.4;
text-align: center;
color: var(--fg-strong);
text-wrap: balance;
}
/* A box to write in, not a search bar: room for a few lines before it grows. */
@@ -104,7 +106,12 @@
padding-bottom: var(--space-2);
}
.docked .heading {
margin: 0;
padding: 0 4px;
font-size: var(--agent-fs-ui);
font-weight: 400;
letter-spacing: normal;
text-align: left;
color: var(--fg-muted);
}