fix(webui): keep Markdown table source inline in file previews

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-14 13:51:33 +08:00
1 parent 524e96ff68
commit 95b2346ea5
1 file changed
+5
+5
View File
@@ -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 <div> by the markdown renderer's
custom `table` component (see MarkdownTextRenderer); min-w-max on the