Round line height (#2824)

* Round line height

* Add to existing
This commit is contained in:
Eric Bailey
2024-02-09 12:04:04 -06:00
committed by GitHub
parent d6235453c9
commit 071efaf2df
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ export function lh(
height: number,
): TextStyle {
return {
lineHeight: (theme.typography[type].fontSize || 16) * height,
lineHeight: Math.round((theme.typography[type].fontSize || 16) * height),
}
}