fx115: Fix wizards

* Fix wrong window dimensions
* Fix missing buttons in import wizard
* Fix tiny items selector in RTF Scan Wizard
This commit is contained in:
Tom Najdek 2024-03-31 12:32:03 +02:00
parent 8bf8bfe804
commit 7bf0aa4958
No known key found for this signature in database
GPG key ID: EEC61A7B4C667D77
9 changed files with 16 additions and 7 deletions

View file

@ -390,7 +390,7 @@ var Zotero_File_Interface = new function() {
args.wrappedJSObject = args; args.wrappedJSObject = args;
Services.ww.openWindow(null, "chrome://zotero/content/import/importWizard.xhtml", Services.ww.openWindow(null, "chrome://zotero/content/import/importWizard.xhtml",
"importFile", "chrome,dialog=yes,centerscreen,width=600,height=400,modal", args); "importFile", "chrome,dialog=yes,centerscreen,modal", args);
}; };

View file

@ -23,7 +23,7 @@
Services.scriptloader.loadSubScript("chrome://zotero/content/import/importWizard.js", this); Services.scriptloader.loadSubScript("chrome://zotero/content/import/importWizard.js", this);
</script> </script>
<wizard id="import-wizard" class="import-wizard" width="600" height="400"> <wizard id="import-wizard" class="import-wizard">
<wizardpage pageid="page-start" data-header-label-id="import-where-from"> <wizardpage pageid="page-start" data-header-label-id="import-where-from">
<radiogroup id="import-source-group" align="start"> <radiogroup id="import-source-group" align="start">
<radio value="file" data-l10n-id="import-source-file" /> <radio value="file" data-l10n-id="import-source-file" />

View file

@ -47,7 +47,6 @@
<wizard <wizard
id="publications-dialog-wizard" id="publications-dialog-wizard"
class="publications-dialog-wizard" class="publications-dialog-wizard"
width="600" height="550"
> >
<wizardpage pageid="intro" data-l10n-id="publications-intro-page"> <wizardpage pageid="intro" data-l10n-id="publications-intro-page">
<p class="description" data-l10n-id="publications-intro" /> <p class="description" data-l10n-id="publications-intro" />

View file

@ -21,7 +21,7 @@
Services.scriptloader.loadSubScript("chrome://zotero/content/customElements.js", this); Services.scriptloader.loadSubScript("chrome://zotero/content/customElements.js", this);
</script> </script>
<wizard id="rtfscan-wizard" class="rtfscan-wizard" width="700" height="550" data-l10n-id="rtfScan-wizard"> <wizard id="rtfscan-wizard" class="rtfscan-wizard" data-l10n-id="rtfScan-wizard">
<wizardpage pageid="page-start" data-l10n-id="rtfScan-intro-page"> <wizardpage pageid="page-start" data-l10n-id="rtfScan-intro-page">
<div> <div>
<span class="page-start-1" data-l10n-id="rtfScan-introPage-description" /> <span class="page-start-1" data-l10n-id="rtfScan-introPage-description" />

View file

@ -38,10 +38,7 @@
xmlns:html="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml"
onload="doLoad();" onload="doLoad();"
onunload="doUnload();" onunload="doUnload();"
width="600"
height="450"
persist="screenX screenY width height" persist="screenX screenY width height"
style="display: flex"
class="zotero-dialog" class="zotero-dialog"
> >
<dialog <dialog

View file

@ -1,4 +1,6 @@
.import-wizard { .import-wizard {
min-width: 600px;
min-height: 400px;
font-size: 12px; font-size: 12px;
radiogroup { radiogroup {

View file

@ -1,4 +1,6 @@
.publications-dialog-wizard { .publications-dialog-wizard {
min-width: 600px;
min-height: 550px;
font-size: 12px; font-size: 12px;
div { div {

View file

@ -1,4 +1,7 @@
.rtfscan-wizard { .rtfscan-wizard {
min-width: 700px;
min-height: 550px;
wizardpage { wizardpage {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View file

@ -1,3 +1,9 @@
#zotero-select-items-dialog {
display: flex;
min-width: 600px;
min-height: 450px;
}
#select-items-dialog { #select-items-dialog {
padding: 2em; padding: 2em;