修复聊天页面渲染逻辑

This commit is contained in:
PingChuan
2025-06-06 16:34:50 +08:00
parent ab960f6dd0
commit 582aa8fa4d
7 changed files with 256 additions and 60 deletions
+3 -5
View File
@@ -35,13 +35,11 @@ export const meta: MetaFunction = () => {
*/
export default function ChatWithLLMIndex() {
return (
<div className="flex-1 chat-container" style={{
height: 'calc(100vh - 80px)',
<div className="chat-container" style={{
height: '93vh', // 使用视口高度的90%
borderRadius: '0.5rem',
marginTop: '20px',
marginBottom: '-20px',
minHeight: '990px',
maxHeight: '89vh'
marginTop: '2vh',
}}>
<Chat />
</div>