fix(list):调整文件列表样式,使之可以列出文件列表的最后一项。

This commit is contained in:
徐涛 2023-03-23 09:58:52 +08:00
parent 0eb69d777d
commit ea19698036

View File

@ -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 => (