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

@ -128,7 +128,7 @@ const TimelineHeaderNotification: React.FC<Props> = ({ notification }) => {
<Emojis
content={name}
emojis={emojis}
size={StyleConstants.Font.Size.M}
size='M'
fontBold={true}
/>
) : (
@ -194,7 +194,7 @@ const styles = StyleSheet.create({
flexDirection: 'row'
},
nameWithoutEmoji: {
fontSize: StyleConstants.Font.Size.M,
...StyleConstants.FontStyle.M,
fontWeight: StyleConstants.Font.Weight.Bold
},
account: {
@ -208,13 +208,13 @@ const styles = StyleSheet.create({
marginBottom: StyleConstants.Spacing.S
},
created_at: {
fontSize: StyleConstants.Font.Size.S
...StyleConstants.FontStyle.S
},
visibility: {
marginLeft: StyleConstants.Spacing.S
},
application: {
fontSize: StyleConstants.Font.Size.S,
...StyleConstants.FontStyle.S,
marginLeft: StyleConstants.Spacing.S
},
relationship: {