Skip to content

Commit

Permalink
Center image in URL preview card (#1556)
Browse files Browse the repository at this point in the history
center is more likely to have relevant content than top left
  • Loading branch information
WebFreak001 authored Jan 10, 2025
1 parent 6926818 commit e0e84f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/components/url-preview/UrlPreview.css.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down

0 comments on commit e0e84f3

Please sign in to comment.