fix: link note window resize
This commit is contained in:
parent
2c82c72336
commit
12bde610ef
|
|
@ -15,7 +15,7 @@
|
|||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
id="bn-note-picker"
|
||||
windowtype="__addonRef__-note-picker"
|
||||
windowtype="__addonRef__-link-note"
|
||||
persist="screenX screenY width height sizemode"
|
||||
style="min-width: 40em"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#top-container {
|
||||
gap: 16px;
|
||||
overflow: auto;
|
||||
width: 800px;
|
||||
padding: 2em;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ async function openLinkNoteDialog(currentNote: Zotero.Item) {
|
|||
window.openDialog(
|
||||
`chrome://${config.addonRef}/content/linkNote.xhtml`,
|
||||
"_blank",
|
||||
"chrome,modal,centerscreen,resizable=no",
|
||||
"chrome,modal,centerscreen",
|
||||
io,
|
||||
);
|
||||
await io.deferred.promise;
|
||||
|
|
|
|||
Loading…
Reference in New Issue