From fa703d03bc2fda5d36ea066a23ca165aedd7e774 Mon Sep 17 00:00:00 2001 From: JoeEverest <42711226+JoeEverest@users.noreply.github.com> Date: Fri, 6 Mar 2026 20:39:10 -0500 Subject: [PATCH] Fix missing list markers in chat markdown 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. --- apps/web/src/index.css | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/apps/web/src/index.css b/apps/web/src/index.css index e752f8ef658c..228179161979 100644 --- a/apps/web/src/index.css +++ b/apps/web/src/index.css @@ -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 {