mirror of https://github.com/langgenius/dify.git
fix: update DocumentList to include max height and overflow styles (#21466)
This commit is contained in:
parent
257809bb30
commit
449e16782e
|
|
@ -21,7 +21,7 @@ const DocumentList: FC<Props> = ({
|
|||
}, [onChange])
|
||||
|
||||
return (
|
||||
<div className={cn(className)}>
|
||||
<div className={cn('max-h-[calc(100vh-120px)] overflow-auto', className)}>
|
||||
{list.map((item) => {
|
||||
const { id, name, extension } = item
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in New Issue