From fe590409583a39ae599a5b2c3454e7a02dc62154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Fri, 17 Jul 2026 13:57:31 +0800 Subject: [PATCH] fix aside overlap with main content --- apps/ai-game-creator-shell/src/styles.css | 7 ++----- apps/ai-game-creator-shell/src/view/layout.tsx | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/apps/ai-game-creator-shell/src/styles.css b/apps/ai-game-creator-shell/src/styles.css index c276be1d6..6157dc1f6 100644 --- a/apps/ai-game-creator-shell/src/styles.css +++ b/apps/ai-game-creator-shell/src/styles.css @@ -144,8 +144,9 @@ textarea { } .launcher-shell { + --launcher-sidebar-width: 64px; display: grid; - grid-template-columns: 80px minmax(0, 1fr); + grid-template-columns: var(--launcher-sidebar-width) minmax(0, 1fr); min-height: 100vh; background: #fff; color: #171717; @@ -1478,10 +1479,6 @@ textarea { } @media (max-width: 760px) { - .launcher-shell { - grid-template-columns: 48px minmax(0, 1fr); - } - .launcher-main { grid-template-rows: auto auto auto; overflow: visible; diff --git a/apps/ai-game-creator-shell/src/view/layout.tsx b/apps/ai-game-creator-shell/src/view/layout.tsx index 4f3006f57..a780b1fea 100644 --- a/apps/ai-game-creator-shell/src/view/layout.tsx +++ b/apps/ai-game-creator-shell/src/view/layout.tsx @@ -258,7 +258,7 @@ export function Sidebar({ } return ( -