diff --git a/bskyogcard/src/components/Post/index.tsx b/bskyogcard/src/components/Post/index.tsx index e4c14e621a..31128dbb71 100644 --- a/bskyogcard/src/components/Post/index.tsx +++ b/bskyogcard/src/components/Post/index.tsx @@ -94,14 +94,13 @@ export function Post({ {rt && } {post.embed && ( - - - + )} diff --git a/bskyogcard/src/components/PostEmbed.tsx b/bskyogcard/src/components/PostEmbed.tsx index b7674466ec..0e4ce5d516 100644 --- a/bskyogcard/src/components/PostEmbed.tsx +++ b/bskyogcard/src/components/PostEmbed.tsx @@ -33,9 +33,11 @@ type CommonProps = { export function PostEmbed({ embed: rawEmbed, + cx, ...rest }: CommonProps & { embed: AppBskyFeedDefs.PostView['embed'] + cx?: (Record | undefined)[] }) { const embed = parseEmbed(rawEmbed) @@ -43,7 +45,11 @@ export function PostEmbed({ case 'images': case 'link': case 'video': - return + return ( + + + + ) case 'feed': case 'list': case 'starter_pack': @@ -51,10 +57,14 @@ export function PostEmbed({ case 'post_blocked': case 'post_detached': case 'post_not_found': - return + return rest.hideNestedEmbeds ? null : ( + + + + ) case 'post_with_media': return ( - + {!rest.hideNestedEmbeds && ( diff --git a/bskyogcard/src/components/PostEmbed/QuotePost.tsx b/bskyogcard/src/components/PostEmbed/QuotePost.tsx index a17285b8ac..310624329b 100644 --- a/bskyogcard/src/components/PostEmbed/QuotePost.tsx +++ b/bskyogcard/src/components/PostEmbed/QuotePost.tsx @@ -64,7 +64,7 @@ export function QuotePost({ cx={[ a.flex_row, a.align_center, - a.gap_sm, + {gap: 6}, a.pb_sm, a.w_full, a.overflow_hidden, @@ -88,15 +88,14 @@ export function QuotePost({ {rt && } {embeds && embeds.length && ( - - - + )} )