Using padding for node gaps, fix #4371 (#4398)

This commit is contained in:
Wei Zhu 2016-12-30 14:32:34 +08:00 committed by ddcat1115
parent fd469ea1a5
commit 0a3e57a61e

View File

@ -11,8 +11,8 @@
padding: 5px;
font-size: @font-size-base;
li {
padding: 0;
margin: 7px 0;
padding: 3.5px 0;
margin: 0;
list-style: none;
white-space: nowrap;
outline: 0;
@ -114,6 +114,14 @@
}
}
}
> li {
&:first-child {
padding-top: 7px;
}
&:last-child {
padding-bottom: 7px;
}
}
&-child-tree {
display: none;
&-open {