Adjust spacing of embeds in posts
This commit is contained in:
@@ -315,7 +315,9 @@ let PostThreadItemLoaded = ({
|
|||||||
</View>
|
</View>
|
||||||
) : undefined}
|
) : undefined}
|
||||||
{post.embed && (
|
{post.embed && (
|
||||||
|
<View style={[a.pb_sm]}>
|
||||||
<PostEmbeds embed={post.embed} moderation={moderation} />
|
<PostEmbeds embed={post.embed} moderation={moderation} />
|
||||||
|
</View>
|
||||||
)}
|
)}
|
||||||
</ContentHider>
|
</ContentHider>
|
||||||
<ExpandedPostDetails
|
<ExpandedPostDetails
|
||||||
@@ -510,7 +512,9 @@ let PostThreadItemLoaded = ({
|
|||||||
/>
|
/>
|
||||||
) : undefined}
|
) : undefined}
|
||||||
{post.embed && (
|
{post.embed && (
|
||||||
|
<View style={[a.pb_xs]}>
|
||||||
<PostEmbeds embed={post.embed} moderation={moderation} />
|
<PostEmbeds embed={post.embed} moderation={moderation} />
|
||||||
|
</View>
|
||||||
)}
|
)}
|
||||||
<PostCtrls
|
<PostCtrls
|
||||||
post={post}
|
post={post}
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ let FeedItemInner = ({
|
|||||||
borderColor: pal.colors.border,
|
borderColor: pal.colors.border,
|
||||||
paddingBottom:
|
paddingBottom:
|
||||||
isThreadLastChild || (!isThreadChild && !isThreadParent)
|
isThreadLastChild || (!isThreadChild && !isThreadParent)
|
||||||
? 6
|
? 8
|
||||||
: undefined,
|
: undefined,
|
||||||
},
|
},
|
||||||
isThreadChild ? styles.outerSmallTop : undefined,
|
isThreadChild ? styles.outerSmallTop : undefined,
|
||||||
@@ -362,7 +362,9 @@ let PostContent = ({
|
|||||||
/>
|
/>
|
||||||
) : undefined}
|
) : undefined}
|
||||||
{postEmbed ? (
|
{postEmbed ? (
|
||||||
|
<View style={[a.pb_sm]}>
|
||||||
<PostEmbeds embed={postEmbed} moderation={moderation} />
|
<PostEmbeds embed={postEmbed} moderation={moderation} />
|
||||||
|
</View>
|
||||||
) : null}
|
) : null}
|
||||||
</ContentHider>
|
</ContentHider>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user