Skip to content

Commit d910662

Browse files
authored
Merge pull request #205 from OpenBMB/fix/v2-user-message-list-style
fix(chat-v2): restore ordered/unordered list markers in user message bubble
2 parents 3891db5 + 77f8c49 commit d910662

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/components/chat-v2/MessageRowV2.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ function MessageRowV2({
272272
</div>
273273
) : null}
274274
{formattedContent ? (
275-
<Markdown className="min-w-0 break-words [overflow-wrap:anywhere]" projectName={selectedProject?.name}>{formattedContent}</Markdown>
275+
<Markdown className="prose prose-sm prose-neutral max-w-none dark:prose-invert prose-p:my-1 prose-ol:my-1 prose-ul:my-1 prose-li:my-0 min-w-0 break-words [overflow-wrap:anywhere]" projectName={selectedProject?.name}>{formattedContent}</Markdown>
276276
) : null}
277277
</>
278278
)}

0 commit comments

Comments
 (0)