Remove ExpanderScroll min-height (#7405)

* Remove ExpanderScroll min-height

* Adjusrt with rem

* Adjust
This commit is contained in:
Jaco 2022-04-20 09:07:19 +02:00 committed by GitHub
parent 9f21b2ba9c
commit 84e040d26f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,17 +27,16 @@ function ExpanderScroll ({ children, className, empty, help, helpIcon, renderChi
empty={empty}
isInline
>
{
renderChildren
? renderChildren().map((row, key) => (
<tr
className='expand'
key={key}
>
<td>{row}</td>
</tr>
))
: <tr className='expand'><td>{children}</td></tr>
{renderChildren
? renderChildren().map((row, key) => (
<tr
className='expand'
key={key}
>
<td>{row}</td>
</tr>
))
: <tr className='expand'><td>{children}</td></tr>
}
</Table>
</div>
@ -61,8 +60,7 @@ export default React.memo(styled(ExpanderScroll)`
overflow-y: scroll;
display: block;
margin: 0 0 0 auto;
min-height: 50px;
max-height: 200px;
max-height: 14rem;
max-width: 30rem;
overflow-x: hidden;
}