diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js index 3f147adc4d..a9adba4ef1 100644 --- a/chrome/content/zotero/integration/quickFormat.js +++ b/chrome/content/zotero/integration/quickFormat.js @@ -77,6 +77,12 @@ var Zotero_QuickFormat = new function () { qfb.setAttribute("square", "true"); } + // With fx60 and drawintitlebar=true Firefox calculates the minHeight + // as titlebar+maincontent, so we have hack around that here. + if (Zotero.isMac && Zotero.platformMajorVersion >= 60) { + qfb.style.marginBottom = "-22px"; + } + // add labels to popup var locators = Zotero.Cite.labels; var menu = document.getElementById("locator-label");