style(editor): 组件树节点名称不换行

This commit is contained in:
roymondchen 2023-10-24 14:08:21 +08:00
parent 2d5afb1646
commit 2e5b5665ce

View File

@ -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;
}
}