forked from github/cinny
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:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user