mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-12 06:19:49 +08:00
style(editor): 组件树节点名称不换行
This commit is contained in:
parent
2d5afb1646
commit
2e5b5665ce
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
.magic-editor-layer-node {
|
.magic-editor-layer-node {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
.layer-node {
|
.layer-node {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -61,6 +62,9 @@
|
|||||||
.layer-node-label {
|
.layer-node-label {
|
||||||
line-height: $--node-height;
|
line-height: $--node-height;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
width: 100px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user