diff options
author | Eric Bailey <git@esb.lol> | 2024-02-09 12:04:04 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-09 12:04:04 -0600 |
commit | 071efaf2dfb2d077e5e60193f083676ec726cba6 (patch) | |
tree | e6288ac3193de276eb6d09c91509121e2b514bfc /src/lib/styles.ts | |
parent | d6235453c9b5f297b95edd58864fe26268239318 (diff) | |
download | voidsky-071efaf2dfb2d077e5e60193f083676ec726cba6.tar.zst |
Round line height (#2824)
* Round line height * Add to existing
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), } } |