From 8716ce02e9461f62688dff69df9bd19dc96048f5 Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Mon, 6 Jun 2022 23:31:30 +0800 Subject: [PATCH] chore: optimize list horizontal style --- src/components/FileExplorer/ListView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FileExplorer/ListView.tsx b/src/components/FileExplorer/ListView.tsx index 758cc58..b53fcde 100644 --- a/src/components/FileExplorer/ListView.tsx +++ b/src/components/FileExplorer/ListView.tsx @@ -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}