Add to existing
This commit is contained in:
+1
-1
@@ -236,7 +236,7 @@ export function lh(
|
|||||||
height: number,
|
height: number,
|
||||||
): TextStyle {
|
): TextStyle {
|
||||||
return {
|
return {
|
||||||
lineHeight: (theme.typography[type].fontSize || 16) * height,
|
lineHeight: Math.round((theme.typography[type].fontSize || 16) * height),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user