fix: update DocumentList to include max height and overflow styles (#21466)
This commit is contained in:
parent
257809bb30
commit
449e16782e
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ const DocumentList: FC<Props> = ({
|
||||||
}, [onChange])
|
}, [onChange])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={cn(className)}>
|
<div className={cn('max-h-[calc(100vh-120px)] overflow-auto', className)}>
|
||||||
{list.map((item) => {
|
{list.map((item) => {
|
||||||
const { id, name, extension } = item
|
const { id, name, extension } = item
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue