This commit is contained in:
Fedor Indutny
2025-09-10 16:00:47 -07:00
committed by GitHub
parent ed76a9541e
commit f6f67dec52

View File

@@ -33,7 +33,7 @@ export function DocumentListItem({ mediaItem, onClick }: Props): JSX.Element {
<div className={tw('shrink-0')}>
<FileThumbnail {...attachment} />
</div>
<div className={tw('grow overflow-hidden text-left')}>
<div className={tw('grow overflow-hidden text-start')}>
<h3 className={tw('truncate')}>{fileName}</h3>
<div className={tw('type-body-small leading-4 text-label-secondary')}>
{typeof fileSize === 'number' ? formatFileSize(fileSize) : ''}