mirror of
https://github.com/PlayEdu/backend
synced 2025-12-28 22:29:43 +08:00
tree组件初步优化
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user