Commit e309c804 authored by Eva Ho's avatar Eva Ho
Browse files

address comments

parent 536c987c
...@@ -211,7 +211,7 @@ const StreamingMarkdownContent: React.FC<StreamingMarkdownContentProps> = ...@@ -211,7 +211,7 @@ const StreamingMarkdownContent: React.FC<StreamingMarkdownContentProps> =
parseIncompleteMarkdown={isStreaming} parseIncompleteMarkdown={isStreaming}
isAnimating={isStreaming} isAnimating={isStreaming}
remarkPlugins={remarkPlugins} remarkPlugins={remarkPlugins}
disableTableActions={true} controls={false}
components={{ components={{
pre: CodeBlock, pre: CodeBlock,
table: ({ table: ({
......
...@@ -28,17 +28,3 @@ ...@@ -28,17 +28,3 @@
opacity: 1; 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;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment