[Feature]树节点宽度改为100%-40px
This commit is contained in:
parent
7a15d9c1f7
commit
e1bccf336f
|
@ -126,7 +126,7 @@
|
||||||
-webkit-transition: all 0.3s ease;
|
-webkit-transition: all 0.3s ease;
|
||||||
transition: all 0.3s ease; }
|
transition: all 0.3s ease; }
|
||||||
.u-tree li a.u-tree-node-content-wrapper {
|
.u-tree li a.u-tree-node-content-wrapper {
|
||||||
width: calc(100% - 30px); }
|
width: calc(100% - 40px); }
|
||||||
.u-tree li a:hover {
|
.u-tree li a:hover {
|
||||||
background-color: rgb(235, 236, 240); }
|
background-color: rgb(235, 236, 240); }
|
||||||
.u-tree li a.u-tree-node-selected {
|
.u-tree li a.u-tree-node-selected {
|
||||||
|
|
|
@ -114,7 +114,7 @@
|
||||||
color: #212121;
|
color: #212121;
|
||||||
transition: all 0.3s ease; }
|
transition: all 0.3s ease; }
|
||||||
.u-tree li a.u-tree-node-content-wrapper {
|
.u-tree li a.u-tree-node-content-wrapper {
|
||||||
width: calc(100% - 30px); }
|
width: calc(100% - 40px); }
|
||||||
.u-tree li a:hover {
|
.u-tree li a:hover {
|
||||||
background-color: rgb(235, 236, 240); }
|
background-color: rgb(235, 236, 240); }
|
||||||
.u-tree li a.u-tree-node-selected {
|
.u-tree li a.u-tree-node-selected {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -163,7 +163,7 @@ $treePrefixCls : "u-tree";
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
// a 标签hover宽度调整
|
// a 标签hover宽度调整
|
||||||
&.u-tree-node-content-wrapper {
|
&.u-tree-node-content-wrapper {
|
||||||
width: calc(100% - 30px);
|
width: calc(100% - 40px);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue