fix: hover state on url preview image and make it keyboard friendly (#2777)

add hover state on url preview image and make it keyboard friendly
This commit is contained in:
Ajay Bura
2026-03-14 17:22:18 +11:00
committed by GitHub
parent 7570a84dfd
commit 3d354909d6
3 changed files with 93 additions and 90 deletions

View File

@@ -64,12 +64,7 @@ export function RenderMessageContent({
return (
<UrlPreviewHolder>
{filteredUrls.map((url) => (
<UrlPreviewCard
key={url}
url={url}
renderViewer={(p) => <ImageViewer {...p} />}
ts={ts}
/>
<UrlPreviewCard key={url} url={url} ts={ts} />
))}
</UrlPreviewHolder>
);