Skip to content

Commit 1027630

Browse files
webui: keep table borders visible in user markdown
1 parent 7820e4b commit 1027630

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
@@ -501,6 +501,14 @@
501501
background: hsl(var(--muted) / 0.1);
502502
}
503503
504+
/* User message markdown should keep table borders visible on light primary backgrounds */
505+
div.markdown-user-content :global(table),
506+
div.markdown-user-content :global(th),
507+
div.markdown-user-content :global(td),
508+
div.markdown-user-content :global(.table-wrapper) {
509+
border-color: currentColor;
510+
}
511+
504512
/* Horizontal rules */
505513
div :global(hr) {
506514
border: none;

0 commit comments

Comments
 (0)