diff --git a/src/components/MediaPlayer/LazyMediaTapPlaceholder.tsx b/src/components/MediaPlayer/LazyMediaTapPlaceholder.tsx index 69f61cc4..b351f2cd 100644 --- a/src/components/MediaPlayer/LazyMediaTapPlaceholder.tsx +++ b/src/components/MediaPlayer/LazyMediaTapPlaceholder.tsx @@ -58,7 +58,9 @@ function BlurHashLayer({ blurHash, className }: { blurHash: string; className?: const frameClass = (kind: 'video' | 'audio', className?: string) => cn( - 'relative w-full max-w-[400px] shrink-0 self-start overflow-hidden rounded-lg border border-border bg-muted/30 shadow-sm', + // `not-prose`: poster lives inside MarkdownArticle `.prose`; typography adds img margins + // that break `absolute inset-0` layout and show a blurhash band above the still. + 'not-prose relative w-full max-w-[400px] shrink-0 self-start overflow-hidden rounded-lg border border-border bg-muted/30 shadow-sm', kind === 'video' ? 'aspect-video' : 'min-h-[7.5rem] aspect-[21/9]', className ) @@ -89,7 +91,7 @@ function MediaPlaceholderLayers({ @@ -187,7 +189,8 @@ export default function LazyMediaTapPlaceholder({ className={cn( // `block` + `p-0` + `leading-none`: native