Skip to content

Commit

Permalink
style(editor): 组件树节点名称不换行
Browse files Browse the repository at this point in the history
  • Loading branch information
roymondchen committed Oct 24, 2023
1 parent 2d5afb1 commit 2e5b566
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/editor/src/theme/layer-panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

.magic-editor-layer-node {
cursor: pointer;
white-space: nowrap;

.layer-node {
display: flex;
Expand Down Expand Up @@ -61,6 +62,9 @@
.layer-node-label {
line-height: $--node-height;
flex: 1;
width: 100px;
overflow: hidden;
text-overflow: ellipsis;
}
}

Expand Down

0 comments on commit 2e5b566

Please sign in to comment.