Skip to content

Commit 5464812

Browse files
webui: keep table borders visible in user markdown
1 parent c0b74c5 commit 5464812

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tools/server/webui/src/lib/components/app/misc/MarkdownContent.svelte

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,14 @@
504504
background: hsl(var(--muted) / 0.1);
505505
}
506506
507+
/* User message markdown should keep table borders visible on light primary backgrounds */
508+
div.markdown-user-content :global(table),
509+
div.markdown-user-content :global(th),
510+
div.markdown-user-content :global(td),
511+
div.markdown-user-content :global(.table-wrapper) {
512+
border-color: currentColor;
513+
}
514+
507515
/* Horizontal rules */
508516
div :global(hr) {
509517
border: none;

0 commit comments

Comments
 (0)