address comments

This commit is contained in:
Eva Ho
2025-11-06 13:49:59 -05:00
parent 536c987c39
commit e309c80474
2 changed files with 1 additions and 15 deletions

View File

@@ -211,7 +211,7 @@ const StreamingMarkdownContent: React.FC<StreamingMarkdownContentProps> =
parseIncompleteMarkdown={isStreaming}
isAnimating={isStreaming}
remarkPlugins={remarkPlugins}
disableTableActions={true}
controls={false}
components={{
pre: CodeBlock,
table: ({

View File

@@ -28,17 +28,3 @@
opacity: 1;
}
}
/* Hide Streamdown table action buttons */
.prose button[title="Copy table as markdown"],
.prose button[title="Download table"] {
display: none !important;
}
/* Hide the parent div if it only contains these buttons */
.prose
div:has(> button[title="Copy table as markdown"]):has(
> button[title="Download table"]
) {
display: none !important;
}