Fix right alignment of search bar
This commit is contained in:
parent
c0f40fac81
commit
516fedc2fe
1 changed files with 6 additions and 1 deletions
|
@ -4785,7 +4785,12 @@ var ZoteroPane = new function()
|
|||
if (collectionsPane.collapsed) {
|
||||
itemsToolbarWidth -= collectionsToolbar.boxObject.width;
|
||||
}
|
||||
|
||||
// Not sure why this is necessary, but it keeps the search bar from overflowing into the
|
||||
// right-hand pane
|
||||
else {
|
||||
itemsToolbarWidth -= 8;
|
||||
}
|
||||
|
||||
itemsToolbar.style.width = itemsToolbarWidth + "px";
|
||||
itemsToolbar.setAttribute("flex", "0");
|
||||
itemToolbar.setAttribute("flex", "1");
|
||||
|
|
Loading…
Reference in a new issue