fix: 约束 AgentRun 页面到内容视口

This commit is contained in:
root
2026-07-16 14:05:43 +02:00
parent 08443b46eb
commit 9527b1003b
2 changed files with 2 additions and 1 deletions
@@ -82,6 +82,7 @@ test("AgentRun command bar preserves compact desktop and mobile primary controls
});
test("AgentRun workspace always owns the remaining grid row", () => {
assert.match(styleSource, /agent-observer-page \{[\s\S]*?height: 100%;/);
assert.match(styleSource, /agent-observer-workspace \{ grid-row: -2 \/ -1;/);
});
@@ -1,7 +1,7 @@
.agent-observer-page {
width: 100%;
max-width: 100%;
height: calc(100dvh - var(--platform-topbar-height, 56px));
height: 100%;
min-width: 0;
min-height: 0;
display: grid;