From adc84f06d97275b17bf77cb6c8d264ad28b0f6ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81d=C3=A1m=20Kov=C3=A1cs?= <43071496+adam-kov@users.noreply.github.com> Date: Thu, 29 Dec 2022 18:44:56 +0100 Subject: [PATCH] fix(frontend): Minor fixes in editor (#1054) * fix(frontend): Script arguments window overflow * fix(frontend): Consistent input editor font size * fix(frontend): Fix script settings inconsistencies --- .../lib/components/InputTransformForm.svelte | 135 +++++++++--------- frontend/src/lib/components/Popover.svelte | 2 + frontend/src/lib/components/SchemaForm.svelte | 2 +- .../src/lib/components/ScriptEditor.svelte | 9 +- .../src/lib/components/TemplateEditor.svelte | 16 +-- .../flows/content/FlowModuleHeader.svelte | 67 ++++----- .../flows/map/FlowModuleSchemaItem.svelte | 65 +++++---- 7 files changed, 150 insertions(+), 146 deletions(-) diff --git a/frontend/src/lib/components/InputTransformForm.svelte b/frontend/src/lib/components/InputTransformForm.svelte index cc0c1c90f8..c236372d9a 100644 --- a/frontend/src/lib/components/InputTransformForm.svelte +++ b/frontend/src/lib/components/InputTransformForm.svelte @@ -141,77 +141,73 @@ {/if} -
Arg at {argName} is undefined
+Argument at {argName} is undefined
{/if} diff --git a/frontend/src/lib/components/Popover.svelte b/frontend/src/lib/components/Popover.svelte index 047887493e..d18a838809 100644 --- a/frontend/src/lib/components/Popover.svelte +++ b/frontend/src/lib/components/Popover.svelte @@ -45,6 +45,8 @@ use:popperRef on:mouseenter={open} on:mouseleave={close} + on:click + class={$$props.class} >