From 071efaf2dfb2d077e5e60193f083676ec726cba6 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 9 Feb 2024 12:04:04 -0600 Subject: Round line height (#2824) * Round line height * Add to existing --- src/lib/styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/styles.ts') diff --git a/src/lib/styles.ts b/src/lib/styles.ts index df9b49260..263127440 100644 --- a/src/lib/styles.ts +++ b/src/lib/styles.ts @@ -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), } } -- cgit 1.4.1