From 30e6c309aefbe967d68bde31af162e3945e12658 Mon Sep 17 00:00:00 2001 From: kdletters Date: Thu, 27 Aug 2026 00:12:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E7=BB=98=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E6=A0=8F=E8=AE=A9=E4=BD=8D=E5=90=8E=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E8=B6=85=E5=87=BA=E5=8F=AF=E8=A7=86=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit window-chrome 下 launcher-main 移除旧版悬浮账户条的 42px padding-bottom,页面容器填满内容区。 首页根容器统一按 platform-theme 覆盖高度与内部滚动,覆盖 h-screen 与 h-[calc] 变体,避免高度基于视口导致底部溢出。 固定弹层样式静态守门补充 launcher-main 与首页容器断言。 --- apps/ai-game-creator-shell/src/styles.css | 12 ++---------- .../tests/appSurface/runtime-settings.suite.ts | 3 +++ 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/apps/ai-game-creator-shell/src/styles.css b/apps/ai-game-creator-shell/src/styles.css index 5ae7406de..0c9984c75 100644 --- a/apps/ai-game-creator-shell/src/styles.css +++ b/apps/ai-game-creator-shell/src/styles.css @@ -304,21 +304,13 @@ body { .window-chrome__content > .launcher-shell .launcher-main { height: 100%; min-height: 0; + padding-bottom: 0; } .window-chrome__content > .launcher-shell .launcher-main - > .platform-theme.min-h-screen { - height: 100%; - min-height: 0; - overflow: auto; -} - -.window-chrome__content - > .launcher-shell - .launcher-main - > .platform-theme.h-screen { + > .platform-theme { height: 100%; min-height: 0; overflow: auto; diff --git a/apps/ai-game-creator-shell/tests/appSurface/runtime-settings.suite.ts b/apps/ai-game-creator-shell/tests/appSurface/runtime-settings.suite.ts index 9ce90eb9b..e67edd306 100644 --- a/apps/ai-game-creator-shell/tests/appSurface/runtime-settings.suite.ts +++ b/apps/ai-game-creator-shell/tests/appSurface/runtime-settings.suite.ts @@ -33,6 +33,9 @@ export function registerAgentStatusDerivationTests() { expect(styles).toContain('.launcher-dialog-backdrop {'); expect(styles).toContain('.game-approval-backdrop {'); expect(styles).toContain('.gdd-approval-card__dialog-backdrop {'); + expect(styles).toContain('> .launcher-shell .launcher-main {'); + expect(styles).toContain('padding-bottom: 0;'); + expect(styles).toContain('> .platform-theme {'); }); it('derives agent card status from the latest run trace step', () => {