Skip to content

Commit 35da581

Browse files
fix(web): show scrollbar for wide markdown tables (pingdotgg#8868)
1 parent 038bf37 commit 35da581

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎apps/web/src/components/ChatMarkdown.tsx‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -657,12 +657,7 @@ function MarkdownTable({ children, ...props }: React.ComponentProps<"table">) {
657657
className="chat-markdown-table-container"
658658
data-expanded={expanded ? "true" : "false"}
659659
>
660-
<ScrollArea
661-
chainVerticalScroll
662-
scrollFade
663-
hideScrollbars
664-
className="w-full max-w-full rounded-none"
665-
>
660+
<ScrollArea chainVerticalScroll scrollFade className="w-full max-w-full rounded-none">
666661
<table ref={tableRef} {...props}>
667662
{children}
668663
</table>

0 commit comments

Comments
 (0)