Skip to content

Commit

Permalink
center images in URL preview cards
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 committed Nov 21, 2023
1 parent 9ecb233 commit a9495fa
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 a9495fa

Please sign in to comment.