fix(list):调整文件列表样式,使之可以列出文件列表的最后一项。
This commit is contained in:
parent
0eb69d777d
commit
ea19698036
|
@ -74,14 +74,13 @@ export const FileList: FC = () => {
|
|||
return (
|
||||
<Box
|
||||
w="100%"
|
||||
h="100%"
|
||||
pl={4}
|
||||
sx={{ flexGrow: 1, overflowY: 'auto', contain: 'strict', overflowX: 'hidden' }}
|
||||
ref={parentRef}
|
||||
>
|
||||
{!isEmpty(files) && (
|
||||
<Virtuoso
|
||||
style={{ height: parentHeight }}
|
||||
style={{ height: parentHeight - 36 }}
|
||||
totalCount={filesCount}
|
||||
ref={listRef}
|
||||
itemContent={index => (
|
||||
|
|
Loading…
Reference in New Issue
Block a user