From abf5b94f72db6c7c36abfa031e5e01a0ccd07eb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Mon, 31 Aug 2026 13:17:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A1=B9=E7=9B=AE=E9=A1=B5?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 项目页父级改为纵向 flex 并填满可用高度 项目列表容器与表格占满剩余空间 保留项目操作菜单现有定位逻辑 --- apps/ai-game-creator-shell/src/styles.css | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/apps/ai-game-creator-shell/src/styles.css b/apps/ai-game-creator-shell/src/styles.css index 0c9984c75..694580176 100644 --- a/apps/ai-game-creator-shell/src/styles.css +++ b/apps/ai-game-creator-shell/src/styles.css @@ -820,12 +820,13 @@ textarea { } .launcher-projects-page { - align-content: start; - grid-template-rows: auto minmax(0, 1fr); + display: flex; + flex-direction: column; gap: 18px; width: calc(100vw - var(--launcher-sidebar-width)); max-width: none; - height: 100dvh; + flex: 1 1 auto; + height: 100%; min-height: 0; margin: 0; padding: 92px 28px 24px; @@ -833,7 +834,9 @@ textarea { } .launcher-main:has(.launcher-projects-page) { - height: 100dvh; + display: flex; + flex-direction: column; + height: 100%; min-height: 0; padding-bottom: 0; } @@ -1004,8 +1007,9 @@ textarea { } .launcher-project-list-shell { - display: grid; - grid-template-rows: 42px minmax(0, 1fr); + display: flex; + flex-direction: column; + flex: 1 1 auto; min-height: 0; overflow: hidden; border: 1px solid var(--platform-surface-border); @@ -1046,6 +1050,7 @@ textarea { .launcher-project-table { display: grid; align-content: start; + flex: 1 1 auto; min-height: 0; overflow-y: auto; }