diff --git a/src/index.less b/src/index.less index fa8330d..6d96318 100644 --- a/src/index.less +++ b/src/index.less @@ -81,7 +81,7 @@ code { margin-left: 15px; } -.ml-24{ +.ml-24 { margin-left: 24px; } @@ -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;