diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js
index aa61b5104c..2d756eebee 100644
--- a/chrome/content/zotero/integration/quickFormat.js
+++ b/chrome/content/zotero/integration/quickFormat.js
@@ -717,14 +717,14 @@ var Zotero_QuickFormat = new function () {
if(!panelShowing) referencePanel.openPopup(document.documentElement, "after_start", 15,
null, false, false, null);
panelShowing = true;
- referenceHeight = firstReference.scrollHeight+1;
+ referenceHeight = firstReference.scrollHeight;
}
if(!separatorHeight && firstSeparator) {
if(!panelShowing) referencePanel.openPopup(document.documentElement, "after_start", 15,
null, false, false, null);
panelShowing = true;
- separatorHeight = firstSeparator.scrollHeight+1;
+ separatorHeight = firstSeparator.scrollHeight;
}
referencePanel.sizeTo(window.outerWidth-30,
diff --git a/chrome/content/zotero/integration/quickFormat.xul b/chrome/content/zotero/integration/quickFormat.xul
index fb5df04eca..c0159f4996 100644
--- a/chrome/content/zotero/integration/quickFormat.xul
+++ b/chrome/content/zotero/integration/quickFormat.xul
@@ -65,8 +65,8 @@
-
-
+
+