padding for non-text carousel

This commit is contained in:
vineyardbovines
2026-04-06 09:23:02 -04:00
parent 2acc497ae3
commit 7dd260fa98
2 changed files with 8 additions and 6 deletions
+7 -5
View File
@@ -225,11 +225,13 @@ function PostInner({
) : undefined}
<TranslatedPost hideTranslateLink post={post} />
{post.embed ? (
<Embed
embed={post.embed}
moderation={moderation}
viewContext={PostEmbedViewContext.Feed}
/>
<View style={!richText.text ? {marginTop: 6} : undefined}>
<Embed
embed={post.embed}
moderation={moderation}
viewContext={PostEmbedViewContext.Feed}
/>
</View>
) : null}
</ContentHider>
<PostControls
+1 -1
View File
@@ -496,7 +496,7 @@ let PostContent = ({
) : undefined}
{record && <TranslatedPost hideTranslateLink post={post} />}
{postEmbed ? (
<View style={[a.pb_xs]}>
<View style={[a.pb_xs, !richText.text && {marginTop: 6}]}>
<Embed
embed={postEmbed}
moderation={moderation}