Skip to content

Commit 2946a6e

Browse files
committed
increase the line height again
1 parent d84bf09 commit 2946a6e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ UPDATE:
3737
* Fix the image auto height crop problem.
3838
* Fix fontSize can not be over 14 bug.
3939
* Increase the Text padding size to 2.
40+
* Add dynamic Image height support.

src/components/TextStyled.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const getStyles = (itemType: any, customStyles: Object): any => {
9999
if (i.split('-')[0] === 'fontsize') {
100100
let fontSize = Number(i.split('-')[1])
101101
fontsizeStyle = StyleSheet.flatten({
102-
lineHeight: fontSize + 10,
102+
lineHeight: fontSize + 12,
103103
fontSize: fontSize
104104
})
105105
}

0 commit comments

Comments
 (0)