Adjust spacing of embeds in posts
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user