Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

markdown: Show copy button on hover to prevent overlapping code block… (#52837)

João Soares878aba817ce0
diff --git a/crates/markdown/src/markdown.rs b/crates/markdown/src/markdown.rs
index 024e377c253..6063e982290 100644
--- a/crates/markdown/src/markdown.rs
+++ b/crates/markdown/src/markdown.rs
@@ -826,8 +826,8 @@ impl MarkdownElement {
markdown,
style,
code_block_renderer: CodeBlockRenderer::Default {
- copy_button: true,
- copy_button_on_hover: false,
+ copy_button: false,
+ copy_button_on_hover: true,
border: false,
},
on_url_click: None,