[Feature]树节点宽度改为100%-40px

This commit is contained in:
yangchch6 2019-04-26 10:02:08 +08:00
parent 7a15d9c1f7
commit e1bccf336f
4 changed files with 4 additions and 4 deletions

View File

@ -126,7 +126,7 @@
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease; }
.u-tree li a.u-tree-node-content-wrapper {
width: calc(100% - 30px); }
width: calc(100% - 40px); }
.u-tree li a:hover {
background-color: rgb(235, 236, 240); }
.u-tree li a.u-tree-node-selected {

2
dist/demo.css vendored
View File

@ -114,7 +114,7 @@
color: #212121;
transition: all 0.3s ease; }
.u-tree li a.u-tree-node-content-wrapper {
width: calc(100% - 30px); }
width: calc(100% - 40px); }
.u-tree li a:hover {
background-color: rgb(235, 236, 240); }
.u-tree li a.u-tree-node-selected {

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

View File

@ -163,7 +163,7 @@ $treePrefixCls : "u-tree";
transition: all 0.3s ease;
// a 标签hover宽度调整
&.u-tree-node-content-wrapper {
width: calc(100% - 30px);
width: calc(100% - 40px);
}
}