pl-fe: fix list height when rendering empty message card
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
f4da4a3035
commit
9dce0668d1
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ const ScrollableList = React.forwardRef<Virtualizer<any, any>, IScrollableList &
|
|||
<div
|
||||
className={listClassName}
|
||||
style={{
|
||||
height: virtualizer.getTotalSize(),
|
||||
height: !showLoading && data.length ? virtualizer.getTotalSize() : undefined,
|
||||
width: '100%',
|
||||
position: 'relative',
|
||||
}}
|
||||
|
|
Loading…
Reference in a new issue