Clean up leading after new default

This commit is contained in:
Eric Bailey
2024-02-19 17:41:32 -06:00
parent 2ab89f1306
commit 67687a387d
5 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -328,7 +328,7 @@ let PostThreadItemLoaded = ({
]}> ]}>
<RichText <RichText
value={richText} value={richText}
style={[a.flex_1, a.leading_snug, a.text_xl]} style={[a.flex_1, a.text_xl]}
selectable selectable
/> />
</View> </View>
@@ -522,7 +522,7 @@ let PostThreadItemLoaded = ({
<View style={styles.postTextContainer}> <View style={styles.postTextContainer}>
<RichText <RichText
value={richText} value={richText}
style={[a.flex_1, a.leading_snug, a.text_md]} style={[a.flex_1, a.text_md]}
numberOfLines={limitLines ? MAX_POST_LINES : undefined} numberOfLines={limitLines ? MAX_POST_LINES : undefined}
/> />
</View> </View>
+1 -1
View File
@@ -350,7 +350,7 @@ let PostContent = ({
testID="postText" testID="postText"
value={richText} value={richText}
numberOfLines={limitLines ? MAX_POST_LINES : undefined} numberOfLines={limitLines ? MAX_POST_LINES : undefined}
style={[a.flex_1, a.leading_snug, a.text_md]} style={[a.flex_1, a.text_md]}
/> />
</View> </View>
) : undefined} ) : undefined}
+1 -1
View File
@@ -612,7 +612,7 @@ let ProfileHeader = ({
<View pointerEvents="auto" style={[styles.description]}> <View pointerEvents="auto" style={[styles.description]}>
<RichText <RichText
testID="profileHeaderDescription" testID="profileHeaderDescription"
style={[a.text_md, a.leading_snug]} style={[a.text_md]}
numberOfLines={15} numberOfLines={15}
value={descriptionRT} value={descriptionRT}
/> />
+1 -1
View File
@@ -576,7 +576,7 @@ function AboutSection({
{feedInfo.description ? ( {feedInfo.description ? (
<RichText <RichText
testID="listDescription" testID="listDescription"
style={[a.text_md, a.leading_snug]} style={[a.text_md]}
value={feedInfo.description} value={feedInfo.description}
/> />
) : ( ) : (
+1 -1
View File
@@ -743,7 +743,7 @@ const AboutSection = React.forwardRef<SectionRef, AboutSectionProps>(
{descriptionRT ? ( {descriptionRT ? (
<RichText <RichText
testID="listDescription" testID="listDescription"
style={[a.text_md, a.leading_snug]} style={[a.text_md]}
value={descriptionRT} value={descriptionRT}
/> />
) : ( ) : (