From be1ffbfb761b7f529bc9e784eeb80cb004ac7ff5 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sat, 31 Dec 2011 15:44:13 +0000 Subject: [PATCH] References should not have flex --- chrome/content/zotero/integration/quickFormat.js | 4 ++-- chrome/content/zotero/integration/quickFormat.xul | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js index aa61b5104..2d756eebe 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 fb5df04ec..c0159f499 100644 --- a/chrome/content/zotero/integration/quickFormat.xul +++ b/chrome/content/zotero/integration/quickFormat.xul @@ -65,8 +65,8 @@ - - + +