Center image in URL preview card (#1556)

center is more likely to have relevant content than top left
This commit is contained in:
Jan Jurzitza 2025-01-10 10:42:05 +01:00 committed by GitHub
parent 69268187c2
commit e0e84f3756
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,8 +20,7 @@ export const UrlPreviewImg = style([
width: toRem(100),
height: toRem(100),
objectFit: 'cover',
objectPosition: 'left',
backgroundPosition: 'start',
objectPosition: 'center',
flexShrink: 0,
overflow: 'hidden',
},