mirror of
https://github.com/ollama/ollama.git
synced 2025-11-10 04:17:04 +01:00
address comments
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user