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} ) : 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
+1 -1
View File
@@ -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}