From 95b2346ea59adcae12ec9695ed09dc8be30f80a5 Mon Sep 17 00:00:00 2001 From: chengyongru Date: Mon, 14 Sep 2026 13:26:30 +0800 Subject: [PATCH] fix(webui): keep Markdown table source inline in file previews --- webui/src/globals.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webui/src/globals.css b/webui/src/globals.css index eddc3ebe2..3b633c7ac 100644 --- a/webui/src/globals.css +++ b/webui/src/globals.css @@ -701,6 +701,11 @@ overflow-x: auto; } + /* Prism's Markdown table tokens must not pick up Tailwind's table layout. */ + .not-prose pre .token.table { + display: inline; + } + /* Wide markdown tables scroll horizontally within the conversation column. Tables are wrapped in an overflow-x:auto
by the markdown renderer's custom `table` component (see MarkdownTextRenderer); min-w-max on the