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
This commit is contained in:
Marshall Bowers 2023-12-21 10:56:52 -05:00 committed by GitHub
parent a516c3be05
commit 7a9c4057a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3066,7 +3066,7 @@ impl InlineAssistant {
font_size: rems(0.875).into(), font_size: rems(0.875).into(),
font_weight: FontWeight::NORMAL, font_weight: FontWeight::NORMAL,
font_style: FontStyle::Normal, font_style: FontStyle::Normal,
line_height: relative(1.).into(), line_height: relative(1.3).into(),
background_color: None, background_color: None,
underline: None, underline: None,
white_space: WhiteSpace::Normal, white_space: WhiteSpace::Normal,