fix: Reduce heading line height from 20 to 1
This commit is contained in:
parent
d6c8fbe268
commit
a08b8cf92c
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue