fix: 修复聊天界面 UI 布局 — 输入框被挤出 + 通知被裁剪

问题1: ChatInput/IoTStatusBar 被推到屏幕底部
- ChatContainer.tsx: MessageList 父级改为 flex flex-col,
  IoTStatusBar 加 flex-shrink-0
- App.tsx: ChatInput 加 flex-shrink-0

问题2: 通知下拉面板被 overflow-hidden 裁剪
- AppLayout.tsx: overflow-hidden 从 Header 父级移到 <main>
This commit is contained in:
2026-05-20 22:49:46 +08:00
parent 1fc2b41d36
commit b2ff70ede2
3 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -330,7 +330,9 @@ export default function App() {
<div className="flex-1 min-h-0 overflow-hidden">
<ChatContainer />
</div>
<ChatInput onSend={send} />
<div className="flex-shrink-0">
<ChatInput onSend={send} />
</div>
</div>
</AppLayout>
</ErrorBoundary>