Cleanup face images

This commit is contained in:
Nicolas Mowen 2025-03-21 11:16:21 -06:00
parent 5f8ecd7531
commit 4d6761eb36

View File

@ -659,11 +659,13 @@ function FaceImage({ name, image, onDelete }: FaceImageProps) {
return ( return (
<div className="relative flex flex-col rounded-lg"> <div className="relative flex flex-col rounded-lg">
<div className="w-full overflow-hidden rounded-t-lg border border-t-0 *:text-card-foreground"> <div
<img className={cn(
className={cn("h-40", isMobile && "w-full")} "w-full overflow-hidden rounded-t-lg border border-t-0 *:text-card-foreground",
src={`${baseUrl}clips/faces/${name}/${image}`} isMobile && "flex justify-center",
/> )}
>
<img className="h-40" src={`${baseUrl}clips/faces/${name}/${image}`} />
</div> </div>
<div className="rounded-b-lg bg-card p-2"> <div className="rounded-b-lg bg-card p-2">
<div className="flex w-full flex-row items-center justify-between gap-2"> <div className="flex w-full flex-row items-center justify-between gap-2">