fix: reduce large margins between list items in answer rendering (#2058)

This commit is contained in:
TinTin
2025-10-16 17:59:45 +07:00
committed by GitHub
parent 62ac90746e
commit ababc9ae04
2 changed files with 3 additions and 3 deletions

View File

@@ -3,9 +3,9 @@
}
.list li:not(:first-child) {
margin-top: 1em;
margin-top: 0.5em;
}
.list li > .list {
margin-top: 1em;
margin-top: 0.5em;
}

View File

@@ -421,7 +421,7 @@ const ConversationBubble = forwardRef<
<Fragment key={index}>
{segment.type === 'text' ? (
<ReactMarkdown
className="fade-in leading-normal break-words whitespace-pre-wrap"
className="fade-in flex flex-col gap-3 leading-normal break-words whitespace-pre-wrap"
remarkPlugins={[remarkGfm, remarkMath]}
rehypePlugins={[rehypeKatex]}
components={{