diff --git a/chrome/content/zotero-platform/unix/integration.css b/chrome/content/zotero-platform/unix/integration.css index e69de29bb..384e3d335 100644 --- a/chrome/content/zotero-platform/unix/integration.css +++ b/chrome/content/zotero-platform/unix/integration.css @@ -0,0 +1,25 @@ +body { + line-height: 1.5em; +} + +#quick-format-search:not([multiline="true"]) { + height: 27px !important; +} + +#quick-format-search { + background: white; + padding: 1px 2px 1px 0; + border: 1px solid rgba(0, 0, 0, 0.5); + -moz-appearance: none; +} + +#quick-format-dialog { + background: transparent; + -moz-appearance: none; + padding: 0; +} + +#zotero-icon { + margin: 3px 0 0 2px; + -moz-appearance: none; +} \ No newline at end of file diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js index dfaae7bf8..96629933b 100644 --- a/chrome/content/zotero/integration/quickFormat.js +++ b/chrome/content/zotero/integration/quickFormat.js @@ -75,6 +75,8 @@ var Zotero_QuickFormat = new function () { keepSorted.setAttribute("checked", "true"); } } + + window.sizeToContent(); } /** diff --git a/chrome/content/zotero/integration/quickFormat.xul b/chrome/content/zotero/integration/quickFormat.xul index 0252d15dc..11199f2ff 100644 --- a/chrome/content/zotero/integration/quickFormat.xul +++ b/chrome/content/zotero/integration/quickFormat.xul @@ -33,7 +33,7 @@ id="quick-format-dialog" orient="vertical" title="Quick Format Citation" - width="600" height="42" + width="600" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" persist="screenX screenY" @@ -42,26 +42,24 @@