From 427044dfd2ea9e7340c64a51787624cf31a1d18a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Thu, 7 Nov 2019 13:58:18 +0200 Subject: [PATCH] Fixes UI artifacts in the progress window on macOS This went unnoticed because the progress window is only ever displayed in the Google Docs integration --- chrome/content/zotero/integration/progressBar.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chrome/content/zotero/integration/progressBar.js b/chrome/content/zotero/integration/progressBar.js index 2f542a47b9..8dc9dcff34 100644 --- a/chrome/content/zotero/integration/progressBar.js +++ b/chrome/content/zotero/integration/progressBar.js @@ -46,6 +46,12 @@ var Zotero_ProgressBar = new function () { } new WindowDraggingElement(document.getElementById("quick-format-dialog"), window); + + // 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) { + document.getElementById("quick-format-entry").style.marginBottom = "-22px"; + } } };