mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: bugs
This commit is contained in:
parent
deae07b83e
commit
de3a1dfd15
@ -47,11 +47,12 @@ export const LinkPreview = memo(
|
|||||||
<img
|
<img
|
||||||
src={data.image.url}
|
src={data.image.url}
|
||||||
alt={data.title}
|
alt={data.title}
|
||||||
className={'container h-full w-40 rounded bg-cover bg-center'}
|
className={'container h-full w-[25%] rounded bg-cover bg-center'}
|
||||||
/>
|
/>
|
||||||
<div className={'flex flex-col justify-center gap-2'}>
|
<div className={'flex flex-col justify-center gap-2'}>
|
||||||
<div className={'text-base font-bold text-text-title'}>{data.title}</div>
|
<div className={'text-base font-bold text-text-title'}>{data.title}</div>
|
||||||
<div className={'text-sm text-text-caption'}>{data.description}</div>
|
<div className={'text-sm text-text-title'}>{data.description}</div>
|
||||||
|
<div className={'text-xs text-text-caption'}>{url}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
|
Loading…
Reference in New Issue
Block a user