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