fix: remove overflow
This commit is contained in:
parent
b190b349b3
commit
61cc57c06a
1 changed files with 2 additions and 2 deletions
|
|
@ -185,12 +185,12 @@ const DataTable = ({
|
|||
<TBody className={classes.body}>
|
||||
{loading && <H4>Loading...</H4>}
|
||||
{!loading && R.isEmpty(data) && <EmptyTable message={emptyText} />}
|
||||
{!R.isEmpty(data) && (
|
||||
{!loading && !R.isEmpty(data) && (
|
||||
<AutoSizer disableWidth>
|
||||
{({ height }) => (
|
||||
<List
|
||||
// this has to be in a style because of how the component works
|
||||
style={{ overflow: 'inherit', outline: 'none' }}
|
||||
style={{ outline: 'none' }}
|
||||
{...props}
|
||||
height={loading ? 0 : height}
|
||||
width={width}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue