add 2px margin below post text (#9748)
This commit is contained in:
@@ -303,7 +303,7 @@ const ThreadItemPostInner = memo(function ThreadItemPostInner({
|
|||||||
additionalCauses={additionalPostAlerts}
|
additionalCauses={additionalPostAlerts}
|
||||||
/>
|
/>
|
||||||
{richText?.text ? (
|
{richText?.text ? (
|
||||||
<>
|
<View style={[a.mb_2xs]}>
|
||||||
<RichText
|
<RichText
|
||||||
enableTags
|
enableTags
|
||||||
value={richText}
|
value={richText}
|
||||||
@@ -318,7 +318,7 @@ const ThreadItemPostInner = memo(function ThreadItemPostInner({
|
|||||||
onPress={onPressShowMore}
|
onPress={onPressShowMore}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</>
|
</View>
|
||||||
) : undefined}
|
) : undefined}
|
||||||
{post.embed && (
|
{post.embed && (
|
||||||
<View style={[a.pb_xs]}>
|
<View style={[a.pb_xs]}>
|
||||||
|
|||||||
@@ -343,7 +343,7 @@ const ThreadItemTreePostInner = memo(function ThreadItemTreePostInner({
|
|||||||
additionalCauses={additionalPostAlerts}
|
additionalCauses={additionalPostAlerts}
|
||||||
/>
|
/>
|
||||||
{richText?.text ? (
|
{richText?.text ? (
|
||||||
<>
|
<View style={[a.mb_2xs]}>
|
||||||
<RichText
|
<RichText
|
||||||
enableTags
|
enableTags
|
||||||
value={richText}
|
value={richText}
|
||||||
@@ -358,7 +358,7 @@ const ThreadItemTreePostInner = memo(function ThreadItemTreePostInner({
|
|||||||
onPress={onPressShowMore}
|
onPress={onPressShowMore}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</>
|
</View>
|
||||||
) : null}
|
) : null}
|
||||||
{post.embed && (
|
{post.embed && (
|
||||||
<View style={[a.pb_xs]}>
|
<View style={[a.pb_xs]}>
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ function PostInner({
|
|||||||
style={[a.pb_xs]}
|
style={[a.pb_xs]}
|
||||||
/>
|
/>
|
||||||
{richText.text ? (
|
{richText.text ? (
|
||||||
<View>
|
<View style={[a.mb_2xs]}>
|
||||||
<RichText
|
<RichText
|
||||||
enableTags
|
enableTags
|
||||||
testID="postText"
|
testID="postText"
|
||||||
|
|||||||
@@ -466,7 +466,7 @@ let PostContent = ({
|
|||||||
additionalCauses={additionalPostAlerts}
|
additionalCauses={additionalPostAlerts}
|
||||||
/>
|
/>
|
||||||
{richText.text ? (
|
{richText.text ? (
|
||||||
<>
|
<View style={[a.mb_2xs]}>
|
||||||
<RichText
|
<RichText
|
||||||
enableTags
|
enableTags
|
||||||
testID="postText"
|
testID="postText"
|
||||||
@@ -479,7 +479,7 @@ let PostContent = ({
|
|||||||
{limitLines && (
|
{limitLines && (
|
||||||
<ShowMoreTextButton style={[a.text_md]} onPress={onPressShowMore} />
|
<ShowMoreTextButton style={[a.text_md]} onPress={onPressShowMore} />
|
||||||
)}
|
)}
|
||||||
</>
|
</View>
|
||||||
) : undefined}
|
) : undefined}
|
||||||
{postEmbed ? (
|
{postEmbed ? (
|
||||||
<View style={[a.pb_xs]}>
|
<View style={[a.pb_xs]}>
|
||||||
|
|||||||
Reference in New Issue
Block a user