#221: Fix missing list markers in chat markdown (#224)

Tailwind v4 Preflight resets list-style to none on ul/ol elements.
Restore disc/decimal markers and add nested list style variants
(circle, square, lower-alpha, lower-roman) for visual distinction.
This commit is contained in:
JoeEverest authored and GitHub committed 2026-03-06 17:51:44 -08:00
1 parent 42675571c9
commit 5a90b6be9c
1 file changed
+22 -1
+22 -1
View File
@@ -263,9 +263,30 @@ label:has(> select#reasoning-effort) select {
margin: 0.65rem 0;
}
.chat-markdown ul,
.chat-markdown ul {
padding-left: 1.25rem;
list-style-type: disc;
}
.chat-markdown ol {
padding-left: 1.25rem;
list-style-type: decimal;
}
.chat-markdown ul ul {
list-style-type: circle;
}
.chat-markdown ul ul ul {
list-style-type: square;
}
.chat-markdown ol ol {
list-style-type: lower-alpha;
}
.chat-markdown ol ol ol {
list-style-type: lower-roman;
}
.chat-markdown li + li {