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.

Use the configured UI font size for the inline assistant (#17542)

Niklas Haas06142f975b13
diff --git a/crates/assistant/src/inline_assistant.rs b/crates/assistant/src/inline_assistant.rs
index bfd85d2525a..7bd74ccabf4 100644
--- a/crates/assistant/src/inline_assistant.rs
+++ b/crates/assistant/src/inline_assistant.rs
@@ -1921,7 +1921,7 @@ impl PromptEditor {
font_family: settings.ui_font.family.clone(),
font_features: settings.ui_font.features.clone(),
font_fallbacks: settings.ui_font.fallbacks.clone(),
- font_size: rems(0.875).into(),
+ font_size: settings.ui_font_size.into(),
font_weight: settings.ui_font.weight,
line_height: relative(1.3),
..Default::default()