diff --git a/addon/chrome/content/linkNote.xhtml b/addon/chrome/content/linkNote.xhtml
index 034ecb7..74c85e6 100644
--- a/addon/chrome/content/linkNote.xhtml
+++ b/addon/chrome/content/linkNote.xhtml
@@ -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"
>
diff --git a/addon/chrome/content/styles/linkNote.css b/addon/chrome/content/styles/linkNote.css
index 61204aa..cfd21dc 100644
--- a/addon/chrome/content/styles/linkNote.css
+++ b/addon/chrome/content/styles/linkNote.css
@@ -7,7 +7,6 @@
#top-container {
gap: 16px;
overflow: auto;
- width: 800px;
padding: 2em;
}
diff --git a/src/utils/linkNote.ts b/src/utils/linkNote.ts
index 672107e..1089cb8 100644
--- a/src/utils/linkNote.ts
+++ b/src/utils/linkNote.ts
@@ -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;