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.

Fix SingleLine editor font size

Conrad Irwine0416e9d2a68
diff --git a/crates/editor2/src/editor.rs b/crates/editor2/src/editor.rs
index 0995bbd5340..fe98dd8679d 100644
--- a/crates/editor2/src/editor.rs
+++ b/crates/editor2/src/editor.rs
@@ -9383,7 +9383,7 @@ impl Render for Editor {
color: cx.theme().colors().text,
font_family: "Zed Sans".into(), // todo!()
font_features: FontFeatures::default(),
- font_size: settings.ui_font_size.into(),
+ font_size: rems(0.875).into(),
font_weight: FontWeight::NORMAL,
font_style: FontStyle::Normal,
line_height: relative(1.3).into(), // TODO relative(settings.buffer_line_height.value()),