feat: improve support for long-form articles

This commit is contained in:
codytseng
2025-08-16 17:49:18 +08:00
parent 6df352a2ab
commit 06adcdb2a8
7 changed files with 101 additions and 27 deletions

View File

@@ -34,10 +34,10 @@ export default function ImageWithLightbox({
}
return (
<div className="w-fit max-w-full">
<div className="w-full">
<Image
key={0}
className={cn('rounded-lg max-h-[80vh] sm:max-h-[50vh] border cursor-zoom-in', className)}
className={cn('rounded-lg border cursor-zoom-in', className)}
classNames={{
errorPlaceholder: 'aspect-square h-[30vh]'
}}