fix: 约束 AgentRun 页面到内容视口
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user