mirror of
https://github.com/RGBCube/cinny
synced 2025-08-01 09:27:46 +00:00
Center image in URL preview card (#1556)
center is more likely to have relevant content than top left
This commit is contained in:
parent
69268187c2
commit
e0e84f3756
1 changed files with 1 additions and 2 deletions
|
@ -20,8 +20,7 @@ export const UrlPreviewImg = style([
|
||||||
width: toRem(100),
|
width: toRem(100),
|
||||||
height: toRem(100),
|
height: toRem(100),
|
||||||
objectFit: 'cover',
|
objectFit: 'cover',
|
||||||
objectPosition: 'left',
|
objectPosition: 'center',
|
||||||
backgroundPosition: 'start',
|
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue