fix: Reduce heading line height from 20 to 1

This commit is contained in:
Jacob Kauffmann 2023-11-28 22:26:51 -07:00
parent d6c8fbe268
commit a08b8cf92c

View file

@ -50,7 +50,7 @@ pub fn title4<'a>(text: impl Into<Cow<'a, str>> + 'a) -> Text<'a, Renderer> {
pub fn heading<'a>(text: impl Into<Cow<'a, str>> + 'a) -> Text<'a, Renderer> { pub fn heading<'a>(text: impl Into<Cow<'a, str>> + 'a) -> Text<'a, Renderer> {
Text::new(text) Text::new(text)
.size(14.0) .size(14.0)
.line_height(20.0) .line_height(1.0)
.font(crate::font::FONT_SEMIBOLD) .font(crate::font::FONT_SEMIBOLD)
} }