fix(webui): prevent inline math overlap in markdown tables

This commit is contained in:
chengyongru authored and chengyongru committed 2026-11-03 15:13:49 +08:00
1 parent cc4dd1cebf
commit e71bc95364
4 files changed
+30 -3

No files matched your search

@@ -740,9 +740,7 @@ describe("MarkdownTextRenderer", () => {
expect(surface).toHaveAccessibleName("Data table");
const table = screen.getByRole("table");
expect(table).toHaveTextContent("nanobot");
expect(table).not.toHaveClass("min-w-max");
expect(table).toHaveClass(
"table-fixed",
"[&_th]:whitespace-normal",
"[&_th]:[overflow-wrap:anywhere]",
"[&_td]:whitespace-normal",