Download modal should truncate model name

This commit is contained in:
Faisal Amir 2023-11-11 14:57:01 +07:00
parent ef3d89f33e
commit 21a616e838

View File

@ -59,9 +59,9 @@ export default function DownloadingState() {
}) as number }) as number
} }
/> />
<div className="flex items-center justify-between"> <div className="flex items-center justify-between gap-x-2">
<div className="flex gap-x-2"> <div className="flex gap-x-2">
<p>{item?.fileName}</p> <p className="line-clamp-1">{item?.fileName}</p>
<span>{formatDownloadPercentage(item?.percent)}</span> <span>{formatDownloadPercentage(item?.percent)}</span>
</div> </div>
<Button <Button