树形组件样式优化

This commit is contained in:
禺狨
2023-03-13 09:54:02 +08:00
parent 5bc78f6192
commit 69da71b7c2
3 changed files with 32 additions and 42 deletions

View File

@@ -327,3 +327,33 @@ textarea.ant-input {
.c-gray {
color: rgba(#333333, 0.3);
}
.ant-tree-treenode {
width: 100% !important;
height: 40px !important;
padding: 0 !important;
margin-bottom: 8px !important;
display: flex;
align-items: center !important;
&.ant-tree-treenode-selected {
background-color: #fff2f0 !important;
border-radius: 6px !important;
overflow: hidden;
}
&:hover {
border-radius: 6px !important;
overflow: hidden;
}
.ant-tree-node-content-wrapper-normal {
width: 100% !important;
height: 40px !important;
display: flex;
align-items: center;
}
.ant-tree-switcher {
height: 40px !important;
display: flex;
align-items: center;
}
}