mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 06:49:45 +08:00
fix: update document name display to prevent overflow
This commit is contained in:
parent
1b150d31a9
commit
489015bd9e
@ -54,7 +54,7 @@ const PreviewDocumentPicker: FC<Props> = ({
|
||||
<FileIcon name={name} extension={extension} size='md' />
|
||||
<div className='flex flex-col items-start ml-1'>
|
||||
<div className='flex items-center space-x-0.5'>
|
||||
<span className={cn('system-md-semibold truncate')}> {name || '--'}</span>
|
||||
<span className={cn('system-md-semibold max-w-[200px] overflow-clip')}> {name || '--'}</span>
|
||||
<ArrowIcon className={'h-[18px] w-[18px] text-text-primary'} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user