Skip to content

Commit d2ee969

Browse files
Merge pull request #9 from chulanovskyi/line_height_fix
Fix line height
2 parents 3e1c6bb + ed4a9eb commit d2ee969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function createChildren({ stylesheet, fontSize, fontFamily }) {
5858

5959
function createNativeElement({ node, stylesheet, key, defaultColor, fontFamily, fontSize = 12 }) {
6060
const { properties, type, tagName: TagName, value } = node;
61-
const startingStyle = { fontFamily, fontSize, height: fontSize + 2 };
61+
const startingStyle = { fontFamily, fontSize, height: fontSize + 5 };
6262
if (type === 'text') {
6363
return (
6464
<Text

0 commit comments

Comments
 (0)