Fix to text consistency in composer

zio/stable
Paul Frazee 2023-01-18 13:22:34 -06:00
parent 726ff6bb01
commit c97045a21a
1 changed files with 8 additions and 2 deletions

View File

@ -174,7 +174,7 @@ export const ComposePost = observer(function ComposePost({
return v return v
} else { } else {
return ( return (
<Text key={i++} style={pal.link}> <Text key={i++} style={[pal.link, styles.textInputFormatting]}>
{v.link} {v.link}
</Text> </Text>
) )
@ -279,7 +279,11 @@ export const ComposePost = observer(function ComposePost({
onChangeText={(text: string) => onChangeText(text)} onChangeText={(text: string) => onChangeText(text)}
placeholder={selectTextInputPlaceholder} placeholder={selectTextInputPlaceholder}
placeholderTextColor={pal.colors.textLight} placeholderTextColor={pal.colors.textLight}
style={[pal.text, styles.textInput]}> style={[
pal.text,
styles.textInput,
styles.textInputFormatting,
]}>
{textDecorated} {textDecorated}
</TextInput> </TextInput>
</View> </View>
@ -420,6 +424,8 @@ const styles = StyleSheet.create({
padding: 5, padding: 5,
marginLeft: 8, marginLeft: 8,
alignSelf: 'flex-start', alignSelf: 'flex-start',
},
textInputFormatting: {
fontSize: 18, fontSize: 18,
letterSpacing: 0.2, letterSpacing: 0.2,
fontWeight: '400', fontWeight: '400',