terry-staging #11

Merged
terry merged 37 commits from terry-staging into main 2026-05-29 19:29:58 +00:00
2 changed files with 9 additions and 21 deletions
Showing only changes of commit ea38503f37 - Show all commits

View File

@@ -132,26 +132,14 @@ function PopularRankRow({
}`} }`}
> >
{cover ? ( {cover ? (
<>
{/* Same image, blurred + scaled, fills the letterbox area so we
see the full poster (no crop) without dead black bars. */}
<img
src={cover}
alt=""
aria-hidden
loading="lazy"
decoding="async"
className="absolute inset-0 h-full w-full scale-110 object-cover opacity-70 blur-md"
/>
<img <img
src={cover} src={cover}
alt="" alt=""
loading="lazy" loading="lazy"
decoding="async" decoding="async"
className="relative h-full w-full object-contain" className="h-full w-full object-fill"
onError={() => setCoverFailed(true)} onError={() => setCoverFailed(true)}
/> />
</>
) : ( ) : (
<FallbackCover type={r.type} /> <FallbackCover type={r.type} />
)} )}

View File

@@ -47,7 +47,7 @@ function AttachmentRow({ postId, att }: { postId: string; att: Attachment }) {
loading="lazy" loading="lazy"
decoding="async" decoding="async"
onError={() => setPreviewFailed(true)} onError={() => setPreviewFailed(true)}
className="h-16 w-16 shrink-0 rounded-lg bg-[#111116] object-contain" className="h-16 w-16 shrink-0 rounded-lg object-fill"
/> />
) : ( ) : (
<div <div