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
|
||||
const depth = this.getLevel(index);
|
||||
let firstChildIndent = 0;
|
||||
if (column.ordinal == 0) {
|
||||
firstChildIndent = 5;
|
||||
}
|
||||
span.style.paddingInlineStart = ((CHILD_INDENT * depth) + firstChildIndent) + 'px';
|
||||
span.firstChild.style.paddingInlineStart = (CHILD_INDENT * depth) + 'px';
|
||||
|
||||
return span;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue