Skip to content

Commit

Permalink
Fix right alignment of search bar
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Dec 29, 2016
1 parent c0f40fa commit 516fedc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion chrome/content/zotero/zoteroPane.js
Expand Up @@ -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");
Expand Down

0 comments on commit 516fedc

Please sign in to comment.