diff --git a/web/src/components/dialog/DialogHolder.svelte b/web/src/components/dialog/DialogHolder.svelte index 939e7a8f..5ca84cb9 100644 --- a/web/src/components/dialog/DialogHolder.svelte +++ b/web/src/components/dialog/DialogHolder.svelte @@ -4,6 +4,7 @@ import SmallDialog from "$components/dialog/SmallDialog.svelte"; import PickerDialog from "$components/dialog/PickerDialog.svelte"; import SavingDialog from "$components/dialog/SavingDialog.svelte"; + import NoScriptDialog from "$components/dialog/NoScriptDialog.svelte"; $: backdropVisible = $dialogs.length > 0; @@ -13,6 +14,7 @@ more info here: https://github.com/microsoft/TypeScript/issues/46680 -->
+ {#each $dialogs as dialog} {#if dialog.type === "small"} @@ -71,7 +73,7 @@ pointer-events: none; } - #dialog-backdrop { + #dialog-backdrop, :global(#nojs-dialog-backdrop) { position: absolute; height: 100%; width: 100%; diff --git a/web/src/components/dialog/NoScriptDialog.svelte b/web/src/components/dialog/NoScriptDialog.svelte new file mode 100644 index 00000000..65c05d5f --- /dev/null +++ b/web/src/components/dialog/NoScriptDialog.svelte @@ -0,0 +1,39 @@ + + + + +