From e0e84f3756e3a1fec8dc0d6ac8d109c73d3d31b1 Mon Sep 17 00:00:00 2001 From: Jan Jurzitza Date: Fri, 10 Jan 2025 10:42:05 +0100 Subject: [PATCH] Center image in URL preview card (#1556) center is more likely to have relevant content than top left --- src/app/components/url-preview/UrlPreview.css.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/components/url-preview/UrlPreview.css.tsx b/src/app/components/url-preview/UrlPreview.css.tsx index 3e97c116..3192dc49 100644 --- a/src/app/components/url-preview/UrlPreview.css.tsx +++ b/src/app/components/url-preview/UrlPreview.css.tsx @@ -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', },