fix: input display

This commit is contained in:
BennyKok 2023-12-18 20:29:51 +08:00
parent 63f9706afa
commit 59ec8ecb06

View File

@ -39,7 +39,7 @@ export async function RunInputs({
return (
<TableRow key={key}>
<TableCell>{key}</TableCell>
{imageUrl ? <TableCell><img className="w-[200px] aspect-square" src={imageUrl}></img></TableCell> : <TableCell>{data}</TableCell>}
{imageUrl ? <TableCell><img className="w-[200px] aspect-square object-contain" src={imageUrl}></img></TableCell> : <TableCell>{data}</TableCell>}
</TableRow>
);
})}