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
This commit is contained in:
Adomas Venčkauskas 2019-11-07 13:58:18 +02:00
parent 6db1fbd13f
commit 427044dfd2

View file

@ -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";
}
}
};