Fix quick format reference panel extra space on Windows

This commit is contained in:
Adomas Venčkauskas 2019-10-14 11:55:15 +03:00
parent 2bb14e5c62
commit a7ddb09615

View file

@ -73,8 +73,11 @@ var Zotero_QuickFormat = new function () {
referencePanel = document.getElementById("quick-format-reference-panel");
referenceBox = document.getElementById("quick-format-reference-list");
if(Zotero.isWin && Zotero.Prefs.get('integration.keepAddCitationDialogRaised')) {
qfb.setAttribute("square", "true");
if (Zotero.isWin) {
referencePanel.style.marginTop = "-29px";
if (Zotero.Prefs.get('integration.keepAddCitationDialogRaised')) {
qfb.setAttribute("square", "true");
}
}
// add labels to popup