address comments
This commit is contained in:
parent
536c987c39
commit
e309c80474
|
|
@ -211,7 +211,7 @@ const StreamingMarkdownContent: React.FC<StreamingMarkdownContentProps> =
|
|||
parseIncompleteMarkdown={isStreaming}
|
||||
isAnimating={isStreaming}
|
||||
remarkPlugins={remarkPlugins}
|
||||
disableTableActions={true}
|
||||
controls={false}
|
||||
components={{
|
||||
pre: CodeBlock,
|
||||
table: ({
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue