padding for non-text carousel
This commit is contained in:
@@ -225,11 +225,13 @@ function PostInner({
|
|||||||
) : undefined}
|
) : undefined}
|
||||||
<TranslatedPost hideTranslateLink post={post} />
|
<TranslatedPost hideTranslateLink post={post} />
|
||||||
{post.embed ? (
|
{post.embed ? (
|
||||||
<Embed
|
<View style={!richText.text ? {marginTop: 6} : undefined}>
|
||||||
embed={post.embed}
|
<Embed
|
||||||
moderation={moderation}
|
embed={post.embed}
|
||||||
viewContext={PostEmbedViewContext.Feed}
|
moderation={moderation}
|
||||||
/>
|
viewContext={PostEmbedViewContext.Feed}
|
||||||
|
/>
|
||||||
|
</View>
|
||||||
) : null}
|
) : null}
|
||||||
</ContentHider>
|
</ContentHider>
|
||||||
<PostControls
|
<PostControls
|
||||||
|
|||||||
@@ -496,7 +496,7 @@ let PostContent = ({
|
|||||||
) : undefined}
|
) : undefined}
|
||||||
{record && <TranslatedPost hideTranslateLink post={post} />}
|
{record && <TranslatedPost hideTranslateLink post={post} />}
|
||||||
{postEmbed ? (
|
{postEmbed ? (
|
||||||
<View style={[a.pb_xs]}>
|
<View style={[a.pb_xs, !richText.text && {marginTop: 6}]}>
|
||||||
<Embed
|
<Embed
|
||||||
embed={postEmbed}
|
embed={postEmbed}
|
||||||
moderation={moderation}
|
moderation={moderation}
|
||||||
|
|||||||
Reference in New Issue
Block a user