www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 516fedc2fe731c302b2d72c3df6d1f28f2b098b3
parent c0f40fac81ef895cf909d6fa93e839bd68f3ee14
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 27 Dec 2016 13:52:50 -0500

Fix right alignment of search bar

Diffstat:
Mchrome/content/zotero/zoteroPane.js | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js @@ -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");