From b99302dbfb3be63edff4a45c6a6067b26696d2c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Wed, 7 Oct 2026 11:05:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=B9=E5=B1=82=E6=89=93=E5=BC=80=E6=97=B6?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E7=9B=92=E7=9B=96=E4=BD=8F=E3=80=8C=E5=9B=9E?= =?UTF-8?q?=E5=88=B0=E5=BA=95=E9=83=A8=E3=80=8D=E8=83=B6=E5=9B=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - styles.css 把 DirectProject 输入盒的 z-index 从 1 抬到 30:输入盒自己是层叠上下文,模型 / 附件菜单的 z-index 只在盒内有效,盒子不抬高会被列表里的胶囊(z-index: 10)盖住 - 30 仍低于拖拽落点提示(60)与设置弹窗(240)两个整屏浮层,它们照旧盖在输入盒之上 --- apps/ai-game-creator-shell/src/styles.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/ai-game-creator-shell/src/styles.css b/apps/ai-game-creator-shell/src/styles.css index 511e2ea4a..05f24f2c9 100644 --- a/apps/ai-game-creator-shell/src/styles.css +++ b/apps/ai-game-creator-shell/src/styles.css @@ -11892,7 +11892,10 @@ button.design-workspace-tree__entry:hover, left: 0; margin: 16px; max-height: none; - z-index: 1; + /* 抬到列表里「回到底部」胶囊(z-index: 10)之上:输入盒自己是层叠上下文,模型 / 附件 + 菜单的 z-index 只在盒内有效,盒子不抬高就会被胶囊盖住。30 仍低于拖拽落点(60)与 + 设置弹窗(240)这两个整屏浮层,它们照旧盖在输入盒之上。 */ + z-index: 30; /* 盒内内边距四边同值:文字/光标的左内缩与上内缩必须相等, 否则点进输入框时(`.resource-reference-input:focus-within` 会画出焦点环) 会明显看出文字离左边近、离上边远。 */