答案 0 :(得分:0)
在https://angular2-tree.readme.io/v7.2.0/docs/styling的分支线主题下,您可以看到类别.node-content-wrapper::before
和.tree-children::after
上有边框。
所以尝试这个
.node-content-wrapper::before {
border-bottom: none;
border-left: none;
}
.tree-children::after {
border-left: none;
}
答案 1 :(得分:0)
我相信.node-content-wrapper
类使用::before
选择器会生成灰色边框线
.node-content-wrapper::before {
border-bottom: 1px solid lightgrey;
border-left: 1px solid lightgrey;*/
height: 28px;
top: -17px;
width: 20px;
left: -28px;
}
如果您删除属性,或之前删除整个.node-content-wrapper :::,灰色边框线将不再显示。