From 2e5b5665ce2b81fa6f3af3cec1e2b2653de7603e Mon Sep 17 00:00:00 2001 From: roymondchen Date: Tue, 24 Oct 2023 14:08:21 +0800 Subject: [PATCH] =?UTF-8?q?style(editor):=20=E7=BB=84=E4=BB=B6=E6=A0=91?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E5=90=8D=E7=A7=B0=E4=B8=8D=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/editor/src/theme/layer-panel.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/editor/src/theme/layer-panel.scss b/packages/editor/src/theme/layer-panel.scss index dc559ccef..c7e939424 100644 --- a/packages/editor/src/theme/layer-panel.scss +++ b/packages/editor/src/theme/layer-panel.scss @@ -11,6 +11,7 @@ .magic-editor-layer-node { cursor: pointer; + white-space: nowrap; .layer-node { display: flex; @@ -61,6 +62,9 @@ .layer-node-label { line-height: $--node-height; flex: 1; + width: 100px; + overflow: hidden; + text-overflow: ellipsis; } }