Fix image thumbnail cover size

This commit is contained in:
Jamie Kyle
2025-08-11 10:22:54 -07:00
committed by GitHub
parent 5dfd779649
commit 3e857b9a99
2 changed files with 3 additions and 4 deletions

View File

@@ -59,6 +59,9 @@ export function ImageOrBlurhash({
? `${intrinsicWidth} / ${intrinsicHeight}`
: undefined,
width: '100%',
height: '100%',
// Preserve aspect ratio
backgroundSize: 'cover',
backgroundPosition: 'center',