fix: 优化markdown解析器

This commit is contained in:
imeepos 2025-07-22 17:35:10 +08:00
parent 7fcf0a1702
commit d1a2c885fb
1 changed files with 3 additions and 2 deletions

View File

@ -361,9 +361,10 @@ export const ChatInterface: React.FC<ChatInterfaceProps> = ({
{/* 聊天消息区域 */} {/* 聊天消息区域 */}
<div <div
ref={chatContainerRef} ref={chatContainerRef}
className="absolute inset-0 overflow-y-auto p-4 space-y-6 bg-transparent chat-scroll" className="absolute top-0 left-0 right-0 overflow-y-auto p-4 space-y-6 bg-transparent chat-scroll"
style={{ style={{
paddingBottom: allTags.length > 0 ? '200px' : '120px' bottom: allTags.length > 0 ? '200px' : '120px',
paddingBottom: '1rem'
}} }}
> >
{messages.length === 0 ? ( {messages.length === 0 ? (