From 6ea68d1f8108c6465bcedb59f0df9e397916554d Mon Sep 17 00:00:00 2001 From: Danila Poyarkov Date: Fri, 4 Sep 2026 17:53:55 +0300 Subject: [PATCH] fix(chat): compact inline code typography - Match inline monospace tokens to the 11px chat body scale\n- Reduce inline code padding without changing fenced Shiki blocks --- src/theme/chat/markdown.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/theme/chat/markdown.css b/src/theme/chat/markdown.css index 22d8461e6..015daba44 100644 --- a/src/theme/chat/markdown.css +++ b/src/theme/chat/markdown.css @@ -39,6 +39,10 @@ } } + [data-stream-markdown='code']:not(.shiki) { + @apply px-1 py-px text-[11px] leading-4; + } + [data-stream-markdown='code-block'] [data-stream-markdown='code'] { @apply p-1.5 text-[11px] leading-4; }