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

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 (