Adjust spacing of embeds in posts

This commit is contained in:
Eric Bailey
2024-03-10 17:50:28 -05:00
parent 918e1e6b53
commit ebd60ce38e
2 changed files with 10 additions and 4 deletions
+6 -2
View File
@@ -315,7 +315,9 @@ let PostThreadItemLoaded = ({
</View>
) : undefined}
{post.embed && (
<PostEmbeds embed={post.embed} moderation={moderation} />
<View style={[a.pb_sm]}>
<PostEmbeds embed={post.embed} moderation={moderation} />
</View>
)}
</ContentHider>
<ExpandedPostDetails
@@ -510,7 +512,9 @@ let PostThreadItemLoaded = ({
/>
) : undefined}
{post.embed && (
<PostEmbeds embed={post.embed} moderation={moderation} />
<View style={[a.pb_xs]}>
<PostEmbeds embed={post.embed} moderation={moderation} />
</View>
)}
<PostCtrls
post={post}
+4 -2
View File
@@ -144,7 +144,7 @@ let FeedItemInner = ({
borderColor: pal.colors.border,
paddingBottom:
isThreadLastChild || (!isThreadChild && !isThreadParent)
? 6
? 8
: undefined,
},
isThreadChild ? styles.outerSmallTop : undefined,
@@ -362,7 +362,9 @@ let PostContent = ({
/>
) : undefined}
{postEmbed ? (
<PostEmbeds embed={postEmbed} moderation={moderation} />
<View style={[a.pb_sm]}>
<PostEmbeds embed={postEmbed} moderation={moderation} />
</View>
) : null}
</ContentHider>
)