Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
git: Use UI font in commit and blame popovers (#43975)
Mikhail Pertsevb4e1d86a1631
diff --git a/crates/git_ui/src/blame_ui.rs b/crates/git_ui/src/blame_ui.rsindex d3f89831898..47703e09824 100644--- a/crates/git_ui/src/blame_ui.rs+++ b/crates/git_ui/src/blame_ui.rs@@ -198,9 +198,6 @@ impl BlameRenderer for GitBlameRenderer {let link_color = cx.theme().colors().text_accent;let markdown_style = {let mut style = hover_markdown_style(window, cx);- if let Some(code_block) = &style.code_block.text {- style.base_text_style.refine(code_block);- }style.link.refine(&TextStyleRefinement {color: Some(link_color),underline: Some(UnderlineStyle {diff --git a/crates/git_ui/src/commit_tooltip.rs b/crates/git_ui/src/commit_tooltip.rsindex 26bd42c6549..6dfe92427df 100644--- a/crates/git_ui/src/commit_tooltip.rs+++ b/crates/git_ui/src/commit_tooltip.rs@@ -197,10 +197,7 @@ impl Render for CommitTooltip {time_format::TimestampFormat::MediumAbsolute,);let markdown_style = {- let mut style = hover_markdown_style(window, cx);- if let Some(code_block) = &style.code_block.text {- style.base_text_style.refine(code_block);- }+ let style = hover_markdown_style(window, cx);style};