From 9527b1003b551cd9c5069413f6d011ecceee83fb Mon Sep 17 00:00:00 2001 From: root Date: Thu, 16 Jul 2026 14:05:43 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BA=A6=E6=9D=9F=20AgentRun=20?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=88=B0=E5=86=85=E5=AE=B9=E8=A7=86=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/hwlab-cloud-web/scripts/agent-observer-ui-contract.test.ts | 1 + web/hwlab-cloud-web/src/styles/agent-observer.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/hwlab-cloud-web/scripts/agent-observer-ui-contract.test.ts b/web/hwlab-cloud-web/scripts/agent-observer-ui-contract.test.ts index 360931cd..120e5a62 100644 --- a/web/hwlab-cloud-web/scripts/agent-observer-ui-contract.test.ts +++ b/web/hwlab-cloud-web/scripts/agent-observer-ui-contract.test.ts @@ -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;/); }); diff --git a/web/hwlab-cloud-web/src/styles/agent-observer.css b/web/hwlab-cloud-web/src/styles/agent-observer.css index db308cc7..9228bbd2 100644 --- a/web/hwlab-cloud-web/src/styles/agent-observer.css +++ b/web/hwlab-cloud-web/src/styles/agent-observer.css @@ -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;