From ec22846bbba5776d605788ae838f5b61be2c0b24 Mon Sep 17 00:00:00 2001 From: Katherine Date: Fri, 14 Jun 2024 14:13:58 +0800 Subject: [PATCH] style: list block (#4665) --- packages/core/client/src/schema-component/antd/list/List.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/schema-component/antd/list/List.tsx b/packages/core/client/src/schema-component/antd/list/List.tsx index e5bf2e8cc6..55976c78a7 100644 --- a/packages/core/client/src/schema-component/antd/list/List.tsx +++ b/packages/core/client/src/schema-component/antd/list/List.tsx @@ -77,7 +77,7 @@ const InternalList = (props) => { css` .ant-spin-nested-loading { height: ${height ? height + 'px' : '100%'}; - overflow-y: auto; + overflow-y: ${height ? 'auto' : 'null'}; .ant-spin-container { width: 100%; overflow-x: clip;