Fix collection tree header indentation on macOS
This commit is contained in:
parent
881ab5f59e
commit
c965e6159a
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ var CollectionTree = class CollectionTree extends LibraryTree {
|
||||||
let twisty;
|
let twisty;
|
||||||
if (this.isContainerEmpty(index)) {
|
if (this.isContainerEmpty(index)) {
|
||||||
twisty = document.createElementNS("http://www.w3.org/1999/xhtml", 'span');
|
twisty = document.createElementNS("http://www.w3.org/1999/xhtml", 'span');
|
||||||
if (Zotero.isMac && treeRow.isHeader) {
|
if (Zotero.isMac && treeRow.isHeader()) {
|
||||||
twisty.classList.add("spacer-header");
|
twisty.classList.add("spacer-header");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue