Skip to content

Commit 77f8c49

Browse files
Gucc111cursoragent
andcommitted
fix(chat-v2): restore ordered/unordered list markers in user message bubble
The user message Markdown wrapper lacked Tailwind Typography `prose` classes, so Preflight's `ol { list-style: none }` was never overridden and list numbers were invisible. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 3891db5 commit 77f8c49

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)