tree组件hover调整

This commit is contained in:
禺狨 2023-03-31 10:11:25 +08:00
parent 3a1be89041
commit c497da6947

View File

@ -451,30 +451,30 @@ textarea.ant-input {
border-radius: 6px !important;
overflow: hidden;
}
.ant-tree-node-content-wrapper {
width: 100% !important;
height: 40px !important;
display: flex;
align-items: center;
}
&:hover {
background-color: #fff2f0 !important;
border-radius: 6px !important;
overflow: hidden;
.ant-tree-node-content-wrapper {
background-color: transparent !important;
}
.ant-tree-node-content-wrapper-normal {
background-color: transparent !important;
}
}
.ant-tree-node-content-wrapper-normal {
width: 100% !important;
height: 40px !important;
display: flex;
align-items: center;
&:hover {
background-color: #fff2f0 !important;
}
}
.ant-tree-node-content-wrapper {
width: 100% !important;
height: 40px !important;
display: flex;
align-items: center;
&:hover {
background-color: #fff2f0 !important;
}
}
.ant-tree-switcher {
height: 40px !important;
display: flex;