From cdacc42fd2071967bc76e6781542d03a3659cf6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Mon, 15 Apr 2024 14:54:54 +0300 Subject: [PATCH] Set a reasonable min-height for classic citation and edit bibl dialogs --- chrome/content/zotero/integration/addCitationDialog.xhtml | 4 +--- .../content/zotero/integration/editBibliographyDialog.xhtml | 3 +-- chrome/skin/default/zotero/integration.css | 4 ++++ 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/chrome/content/zotero/integration/addCitationDialog.xhtml b/chrome/content/zotero/integration/addCitationDialog.xhtml index a1e41995a2..8863f3e607 100644 --- a/chrome/content/zotero/integration/addCitationDialog.xhtml +++ b/chrome/content/zotero/integration/addCitationDialog.xhtml @@ -37,14 +37,12 @@ windowtype="zotero:item-selector" orient="vertical" title="&zotero.integration.addEditCitation.title;" - width="600" height="450" onload="Zotero_Citation_Dialog.load();" onunload="doUnload();" onclose="Zotero_Citation_Dialog.cancel();" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml" - persist="screenX screenY width height" - resizable="true"> + persist="screenX screenY width height"> diff --git a/chrome/content/zotero/integration/editBibliographyDialog.xhtml b/chrome/content/zotero/integration/editBibliographyDialog.xhtml index 312e922981..1ef16fac91 100644 --- a/chrome/content/zotero/integration/editBibliographyDialog.xhtml +++ b/chrome/content/zotero/integration/editBibliographyDialog.xhtml @@ -40,8 +40,7 @@ onunload="doUnload();" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" - persist="screenX screenY width height" - resizable="true"> + persist="screenX screenY width height"> diff --git a/chrome/skin/default/zotero/integration.css b/chrome/skin/default/zotero/integration.css index 4abfb76680..ccf8a2f8f2 100644 --- a/chrome/skin/default/zotero/integration.css +++ b/chrome/skin/default/zotero/integration.css @@ -380,3 +380,7 @@ window.citation-dialog { clip: rect(0, 0, 0, 0); border: 0; } + +window#add-citation-dialog, window#edit-bibliography-dialog { + min-height: 600px; +}