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

@ -24,7 +24,7 @@ const styles = StyleSheet.create({
paddingBottom: StyleConstants.Spacing.S
},
text: {
fontSize: StyleConstants.Font.Size.S,
...StyleConstants.FontStyle.S,
fontWeight: StyleConstants.Font.Weight.Bold
}
})