chore: optimize list horizontal style

This commit is contained in:
EnixCoda 2022-06-06 23:31:30 +08:00
parent 6ce88e7cf0
commit 8716ce02e9

View file

@ -58,7 +58,7 @@ export function ListView({ width, height, nodeRendererContext }: ListViewProps)
itemCount={visibleNodes.nodes.length}
itemSize={compactFileTree ? 24 : 37}
height={height}
width={width}
width={'100%'}
>
{VirtualNode}
</FixedSizeList>