From c5840f29b724966930e239fe00ee13b2fb882503 Mon Sep 17 00:00:00 2001 From: wwsun Date: Thu, 2 Nov 2023 11:11:30 +0800 Subject: [PATCH] fix: limit outline tree node icon --- .../designer/src/sidebar/outline-panel/components-tree.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/designer/src/sidebar/outline-panel/components-tree.tsx b/packages/designer/src/sidebar/outline-panel/components-tree.tsx index 4f99296..b62721b 100644 --- a/packages/designer/src/sidebar/outline-panel/components-tree.tsx +++ b/packages/designer/src/sidebar/outline-panel/components-tree.tsx @@ -53,7 +53,8 @@ const outlineStyle = css` display: none; } .material-icon { - width: 14px; + width: 1em; + height: 1em; } `; @@ -164,7 +165,7 @@ export const ComponentsTree: React.FC = observer( return ( { @@ -229,4 +230,4 @@ export const ComponentsTree: React.FC = observer( ); }, -); +); \ No newline at end of file