Mayo commited on
fix: filename overflow
Browse files
ui/components/ActivityBubble.tsx
CHANGED
|
@@ -66,9 +66,11 @@ function DownloadCard({
|
|
| 66 |
<BubbleCard>
|
| 67 |
<div className='flex items-start gap-3'>
|
| 68 |
<div className='mt-1 h-2.5 w-2.5 animate-pulse rounded-full bg-primary shadow-[0_0_0_6px_hsl(var(--primary)/0.16)]' />
|
| 69 |
-
<div className='flex-1'>
|
| 70 |
<div className='text-sm font-semibold text-foreground'>{t('download.title')}</div>
|
| 71 |
-
<div className='truncate text-xs text-muted-foreground'
|
|
|
|
|
|
|
| 72 |
<ProgressBar percent={percent} />
|
| 73 |
</div>
|
| 74 |
</div>
|
|
|
|
| 66 |
<BubbleCard>
|
| 67 |
<div className='flex items-start gap-3'>
|
| 68 |
<div className='mt-1 h-2.5 w-2.5 animate-pulse rounded-full bg-primary shadow-[0_0_0_6px_hsl(var(--primary)/0.16)]' />
|
| 69 |
+
<div className='min-w-0 flex-1'>
|
| 70 |
<div className='text-sm font-semibold text-foreground'>{t('download.title')}</div>
|
| 71 |
+
<div className='block max-w-full truncate text-xs text-muted-foreground' title={filename}>
|
| 72 |
+
{filename}
|
| 73 |
+
</div>
|
| 74 |
<ProgressBar percent={percent} />
|
| 75 |
</div>
|
| 76 |
</div>
|