tree组件初步优化

This commit is contained in:
禺狨
2023-03-21 14:30:46 +08:00
parent cb568cdb9f
commit 0f5e7fd9c1
5 changed files with 152 additions and 117 deletions

View File

@@ -22,6 +22,13 @@ code {
monospace;
}
.w-174px {
max-width: 174px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.w-250px {
width: 250px;
}
@@ -447,7 +454,6 @@ textarea.ant-input {
}
}
.ant-tree-switcher {
padding-left: 9px;
height: 40px !important;
display: flex;
align-items: center;
@@ -469,7 +475,7 @@ textarea.ant-input {
}
.ant-tree-switcher {
padding-left: 4px;
padding-left: 6px;
position: relative;
}
@@ -513,7 +519,7 @@ textarea.ant-input {
}
.tree-title-elli {
max-width:100px;
max-width: 100px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@@ -586,3 +592,16 @@ textarea.ant-input {
opacity: 0.8;
}
}
.ant-tree-switcher_close {
.c-gray {
color: rgba(0, 0, 0, 0.3);
}
}
.ant-tree-switcher_open {
.c-gray {
color: rgba(0, 0, 0, 0.3);
transform: rotate(90deg);
}
}