Remove ExpanderScroll min-height (#7405)
* Remove ExpanderScroll min-height * Adjusrt with rem * Adjust
This commit is contained in:
parent
9f21b2ba9c
commit
84e040d26f
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user