树节点上下增加padding

This commit is contained in:
yangchch6 2019-03-06 19:22:42 +08:00
parent 5c8e599865
commit 86b3927c6d
4 changed files with 4 additions and 4 deletions

View File

@ -251,7 +251,7 @@
padding: 0 0 0 18px; } padding: 0 0 0 18px; }
.u-tree li a { .u-tree li a {
display: inline-block; display: inline-block;
padding: 0px 5px; padding: 2px 5px;
border-radius: 2px; border-radius: 2px;
margin: 0; margin: 0;
cursor: pointer; cursor: pointer;

2
dist/demo.css vendored
View File

@ -5480,7 +5480,7 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
padding: 0 0 0 18px; } padding: 0 0 0 18px; }
.u-tree li a { .u-tree li a {
display: inline-block; display: inline-block;
padding: 0px 5px; padding: 2px 5px;
border-radius: 2px; border-radius: 2px;
margin: 0; margin: 0;
cursor: pointer; cursor: pointer;

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

View File

@ -149,7 +149,7 @@ $treePrefixCls : "u-tree";
} }
li a { li a {
display: inline-block; display: inline-block;
padding: 0px 5px; padding: 2px 5px;
border-radius: 2px; border-radius: 2px;
margin: 0; margin: 0;
cursor: pointer; cursor: pointer;