diff options
Diffstat (limited to 'src/lib/styles.ts')
-rw-r--r-- | src/lib/styles.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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), } } |