feat: enhance post content parsing and rendering (#263)
This commit is contained in:
parent
e9f8b2166e
commit
0569a1dd26
27 changed files with 441 additions and 296 deletions
|
|
@ -56,7 +56,7 @@ export default function WebPreview({
|
|||
{image && (
|
||||
<Image
|
||||
image={{ url: image }}
|
||||
className={`rounded-lg ${size === 'normal' ? 'h-44' : 'h-24'}`}
|
||||
className={`rounded-lg aspect-[4/3] object-cover bg-foreground ${size === 'normal' ? 'h-44' : 'h-24'}`}
|
||||
hideIfError
|
||||
/>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue