Item Tree: Fix column dividers not aligned for second-level items
Closes #2605
This commit is contained in:
parent
aa483f579f
commit
a406e62fd3
1 changed files with 1 additions and 5 deletions
|
@ -2732,11 +2732,7 @@ var ItemTree = class ItemTree extends LibraryTree {
|
||||||
|
|
||||||
// Set depth indent
|
// Set depth indent
|
||||||
const depth = this.getLevel(index);
|
const depth = this.getLevel(index);
|
||||||
let firstChildIndent = 0;
|
span.firstChild.style.paddingInlineStart = (CHILD_INDENT * depth) + 'px';
|
||||||
if (column.ordinal == 0) {
|
|
||||||
firstChildIndent = 5;
|
|
||||||
}
|
|
||||||
span.style.paddingInlineStart = ((CHILD_INDENT * depth) + firstChildIndent) + 'px';
|
|
||||||
|
|
||||||
return span;
|
return span;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue