fix: 优化markdown解析器
This commit is contained in:
parent
7fcf0a1702
commit
d1a2c885fb
|
|
@ -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 ? (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue