fix: render markdown lists with proper bullet/number styles

Tailwind's preflight resets list-style to none on ul/ol elements.
Add explicit list-style-type rules for markdown-body: disc for ul,
decimal for ol, with circle/square for nested levels.
Also add li margin for spacing.

Closes feedback #61
This commit is contained in:
Nicolas Varrot
2026-02-13 09:40:22 +00:00
parent a64a235d6c
commit cbb46115a0
2 changed files with 7 additions and 1 deletions

View File

@@ -661,5 +661,5 @@
## Item #61
- **Date:** 2026-02-13
- **Priority:** medium
- **Status:** pending
- **Status:** in-progress
- **Description:** Markdown unordered lists (- item, * item) are not rendered properly in chat messages. They appear as raw text instead of formatted bullet points. Need to verify remarkGfm/ReactMarkdown config handles list rendering correctly, and ensure CSS styles are applied for ul/ol elements in the markdown-body class.