fix: update DocumentList to include max height and overflow styles (#21466)

This commit is contained in:
Covfefeable 2025-06-25 11:17:31 +08:00 committed by GitHub
parent 257809bb30
commit 449e16782e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 (