From 7a9c4057a7f2eb67e55439f74635f6c9d063674b Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Thu, 21 Dec 2023 10:56:52 -0500 Subject: [PATCH] Increase inline assistant editor's line height (#3757) This PR increases the line height for the inline assistant editor. This fixes an issue where descenders were being clipped. Release Notes: - N/A --- crates/assistant2/src/assistant_panel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/assistant2/src/assistant_panel.rs b/crates/assistant2/src/assistant_panel.rs index d50fdccd6f..84576c5262 100644 --- a/crates/assistant2/src/assistant_panel.rs +++ b/crates/assistant2/src/assistant_panel.rs @@ -3066,7 +3066,7 @@ impl InlineAssistant { font_size: rems(0.875).into(), font_weight: FontWeight::NORMAL, font_style: FontStyle::Normal, - line_height: relative(1.).into(), + line_height: relative(1.3).into(), background_color: None, underline: None, white_space: WhiteSpace::Normal,