my fork of the bluesky client

Adjust line height to not cut off emoji (#5496)

authored by

Eric Bailey and committed by
GitHub
1895ae2e 179a913f

+4 -8
+4 -8
src/view/com/util/PostMeta.tsx
··· 77 77 disableMismatchWarning 78 78 onPress={onBeforePressAuthor} 79 79 style={[t.atoms.text]}> 80 - <Text emoji style={[a.text_md, a.font_bold, a.leading_tight]}> 80 + <Text emoji style={[a.text_md, a.font_bold, a.leading_snug]}> 81 81 {forceLTR( 82 82 sanitizeDisplayName( 83 83 displayName, ··· 92 92 disableMismatchWarning 93 93 disableUnderline 94 94 onPress={onBeforePressAuthor} 95 - style={[a.text_md, t.atoms.text_contrast_medium, a.leading_tight]}> 95 + style={[a.text_md, t.atoms.text_contrast_medium, a.leading_snug]}> 96 96 <Text 97 97 emoji 98 - style={[ 99 - a.text_md, 100 - t.atoms.text_contrast_medium, 101 - a.leading_tight, 102 - ]}> 98 + style={[a.text_md, t.atoms.text_contrast_medium, a.leading_snug]}> 103 99 {NON_BREAKING_SPACE + sanitizeHandle(handle, '@')} 104 100 </Text> 105 101 </WebOnlyInlineLinkText> ··· 124 120 style={[ 125 121 a.text_md, 126 122 t.atoms.text_contrast_medium, 127 - a.leading_tight, 123 + a.leading_snug, 128 124 web({ 129 125 whiteSpace: 'nowrap', 130 126 }),