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` 会画出焦点环) 会明显看出文字离左边近、离上边远。 */