1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Force all tex to have both font size and line height

https://github.com/facebook/react-native/issues/19193 describes the issue. But https://github.com/facebook/react-native/issues/19193#issuecomment-467852112 suggestion does not look well with PingFang and English
This commit is contained in:
Zhiyuan Zheng
2020-12-29 00:21:05 +01:00
parent 83b725b58d
commit 4f0621bbff
39 changed files with 110 additions and 121 deletions

View File

@ -111,10 +111,10 @@ const styles = StyleSheet.create({
marginLeft: StyleConstants.Spacing.S
},
text1: {
fontSize: StyleConstants.Font.Size.M
...StyleConstants.FontStyle.M
},
text2: {
fontSize: StyleConstants.Font.Size.S,
...StyleConstants.FontStyle.S,
marginTop: StyleConstants.Spacing.S
}
})