Skip to content

Commit 21a616e

Browse files
committed
Download modal should truncate model name
1 parent ef3d89f commit 21a616e

File tree

1 file changed

+2
-2
lines changed
  • web/containers/Layout/BottomBar/DownloadingState

1 file changed

+2
-2
lines changed

web/containers/Layout/BottomBar/DownloadingState/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ export default function DownloadingState() {
5959
}) as number
6060
}
6161
/>
62-
<div className="flex items-center justify-between">
62+
<div className="flex items-center justify-between gap-x-2">
6363
<div className="flex gap-x-2">
64-
<p>{item?.fileName}</p>
64+
<p className="line-clamp-1">{item?.fileName}</p>
6565
<span>{formatDownloadPercentage(item?.percent)}</span>
6666
</div>
6767
<Button

0 commit comments

Comments
 (0)