diff --git a/src/components/Post/Embed/StandardSiteEmbed/index.tsx b/src/components/Post/Embed/StandardSiteEmbed/index.tsx index a9de42324b..86a86a57fe 100644 --- a/src/components/Post/Embed/StandardSiteEmbed/index.tsx +++ b/src/components/Post/Embed/StandardSiteEmbed/index.tsx @@ -33,6 +33,10 @@ export type ThemeColors = { accentForeground: string } +const PUBLICATION_AVATAR_STYLE = { + borderRadius: a.rounded_sm.borderRadius, +} + export function useStandardSitePublisherConfig( view: AppBskyEmbedExternal.ViewExternal, ) { @@ -365,32 +369,30 @@ export function PublicationCard({ a.gap_sm, gtPhone && a.flex_1, ]}> - <> - + + + {view.source?.title} + + - - - {view.source?.title} - - - - + {!hideSubscribe && ( @@ -482,7 +484,7 @@ function PublicationIcon({ type="labeler" size={size} avatar={view.source.icon} - extraAviStyle={{borderRadius: a.rounded_sm.borderRadius}} + extraAviStyle={PUBLICATION_AVATAR_STYLE} /> - <> - + + + {view.source?.title} + + - - - {view.source?.title} - - - - + {!hideSubscribe && (