From 78263640035bcd2a65139aa8fdfbeeb187f600c1 Mon Sep 17 00:00:00 2001 From: codytseng Date: Thu, 27 Mar 2025 23:05:06 +0800 Subject: [PATCH] fix: website preview card cannot click --- src/components/WebPreview/index.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/WebPreview/index.tsx b/src/components/WebPreview/index.tsx index 2fa036f..b584033 100644 --- a/src/components/WebPreview/index.tsx +++ b/src/components/WebPreview/index.tsx @@ -29,7 +29,13 @@ export default function WebPreview({ if (isSmallScreen && image) { return ( -
+
{ + e.stopPropagation() + window.open(url, '_blank') + }} + >
{hostname}