feat: adjust width of image in WebPreview component

This commit is contained in:
codytseng 2024-12-04 00:06:14 +08:00
parent dd1fd83045
commit 5ff37826d8

View file

@ -36,7 +36,7 @@ export default function WebPreview({
{image && ( {image && (
<Image <Image
src={image} src={image}
className={`rounded-l-lg object-cover ${size === 'normal' ? 'h-44' : 'h-24'}`} className={`rounded-l-lg object-cover w-2/5 ${size === 'normal' ? 'h-44' : 'h-24'}`}
removeWrapper removeWrapper
/> />
)} )}