diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 5e0a4a42ac..bce55ce23b 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -3613,8 +3613,8 @@ var ZoteroPane = new function() var paneComputedStyle = window.getComputedStyle(pane, null); var splitterComputedStyle = window.getComputedStyle(splitter, null); - toolbar.style.width = parseInt(paneComputedStyle.getPropertyValue("width")) - +parseInt(splitterComputedStyle.getPropertyValue("width"))+"px"; + toolbar.style.width = paneComputedStyle.getPropertyValue("width"); + toolbar.style.marginRight = splitterComputedStyle.getPropertyValue("width"); } }