fix: 🎨

This commit is contained in:
codytseng 2025-12-26 23:47:11 +08:00
parent 7e10fa80b8
commit 6d0a38aac7

View file

@ -48,7 +48,14 @@ export default function WebPreview({
window.open(url, '_blank') window.open(url, '_blank')
}} }}
> >
<Image image={{ url: image }} className="w-full h-44 rounded-none" hideIfError /> <Image
image={{ url: image }}
className="w-full h-44"
classNames={{
wrapper: 'rounded-none'
}}
hideIfError
/>
<div className="bg-muted p-2 w-full"> <div className="bg-muted p-2 w-full">
<div className="text-xs text-muted-foreground">{hostname}</div> <div className="text-xs text-muted-foreground">{hostname}</div>
<div className="font-semibold line-clamp-1">{title}</div> <div className="font-semibold line-clamp-1">{title}</div>