fix: AI助手页面输入框超出屏幕(适配PageGuide高度)
ChatTab 高度从 calc(100vh - 220px) 调整为 calc(100vh - 250px), 补偿新增 PageGuide 操作说明占用的高度,避免输入框被挤出屏幕。 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
@@ -238,7 +238,7 @@ export function ChatTab() {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="flex flex-col" style={{ height: 'calc(100vh - 220px)', minHeight: '400px' }}>
|
||||
<div className="flex flex-col" style={{ height: 'calc(100vh - 250px)', minHeight: '400px' }}>
|
||||
{/* 顶部操作栏 */}
|
||||
<div className="flex items-center gap-2 pb-2 border-b">
|
||||
<Button size="sm" variant="secondary" onClick={newConversation}><Plus className="w-4 h-4 mr-1" />新对话</Button>
|
||||
|
||||
Reference in New Issue
Block a user