Skip to content
TypeScript

fix(web): show scrollbar for wide markdown tables (#8868)

Utkarsh Patil35da5813315d
diff --git a/apps/web/src/components/ChatMarkdown.tsx b/apps/web/src/components/ChatMarkdown.tsx
index a055759e638..7773338a745 100644
--- a/apps/web/src/components/ChatMarkdown.tsx
+++ b/apps/web/src/components/ChatMarkdown.tsx
@@ -657,12 +657,7 @@ function MarkdownTable({ children, ...props }: React.ComponentProps<"table">) {
className="chat-markdown-table-container"
data-expanded={expanded ? "true" : "false"}
>
- <ScrollArea
- chainVerticalScroll
- scrollFade
- hideScrollbars
- className="w-full max-w-full rounded-none"
- >
+ <ScrollArea chainVerticalScroll scrollFade className="w-full max-w-full rounded-none">
<table ref={tableRef} {...props}>
{children}
</table>