git: Use UI font in commit and blame popovers (#43975)

Closes #30353

Release Notes:

- Fixed: Hover tooltips in git commit and blame popovers now
consistently use the UI font
This commit is contained in:
Mikhail Pertsev
2025-12-02 19:44:03 -03:00
committed by GitHub
parent 8a12ecf849
commit b4e1d86a16
2 changed files with 1 additions and 7 deletions
-3
View File
@@ -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 {
+1 -4
View File
@@ -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
};