Fix collection tree header alignment on macOS
This commit is contained in:
parent
7ec89c44ce
commit
efc009f724
2 changed files with 10 additions and 1 deletions
|
@ -294,7 +294,12 @@ var CollectionTree = class CollectionTree extends LibraryTree {
|
|||
let twisty;
|
||||
if (this.isContainerEmpty(index)) {
|
||||
twisty = document.createElementNS("http://www.w3.org/1999/xhtml", 'span');
|
||||
twisty.classList.add("spacer-twisty");
|
||||
if (Zotero.isMac && treeRow.isHeader) {
|
||||
twisty.classList.add("spacer-header");
|
||||
}
|
||||
else {
|
||||
twisty.classList.add("spacer-twisty");
|
||||
}
|
||||
}
|
||||
else {
|
||||
twisty = getDOMIcon("IconTwisty");
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
.spacer-twisty {
|
||||
min-width: 19px;
|
||||
}
|
||||
|
||||
.spacer-header {
|
||||
min-width: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.virtualized-table-body, .drag-image-container{
|
||||
|
|
Loading…
Reference in a new issue