mirror of
https://github.com/langgenius/dify.git
synced 2026-01-05 22:15:52 +00:00
fix: update document name display to prevent overflow
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user