Fix SingleLine editor font size

This commit is contained in:
Conrad Irwin 2023-11-13 21:41:41 -07:00
parent c5878cbd5f
commit e0416e9d2a

View file

@ -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()),