From ee0dd6853a212f696fb51bbcf471d2dc64579995 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 27 Apr 2022 08:27:00 +0100 Subject: [PATCH] Update panel text size and improve target panel position wording --- .../[screenId]/new/_components/NewComponentPanel.svelte | 2 +- .../[screenId]/new/_components/NewComponentTargetPanel.svelte | 3 ++- .../pages/builder/app/[application]/design/theme/index.svelte | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/new/_components/NewComponentPanel.svelte b/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/new/_components/NewComponentPanel.svelte index ebb4f856b6..545126cd9c 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/new/_components/NewComponentPanel.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/new/_components/NewComponentPanel.svelte @@ -139,7 +139,7 @@ {/each} {:else} - Blocks are a collection of pre-built components + Blocks are collections of pre-built components {#each blocks as block}
addComponent(block)}> diff --git a/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/new/_components/NewComponentTargetPanel.svelte b/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/new/_components/NewComponentTargetPanel.svelte index b8e5867736..61dc5e2894 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/new/_components/NewComponentTargetPanel.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/new/_components/NewComponentTargetPanel.svelte @@ -8,10 +8,11 @@ ) $: isScreen = $selectedComponent?._id === $selectedScreen?.props._id $: title = isScreen ? "Screen" : $selectedComponent?._instanceName + $: position = componentDefinition?.hasChildren ? "inside" : "below" - The component you add will be placed inside {title} + Components you add will be placed {position} {title} diff --git a/packages/builder/src/pages/builder/app/[application]/design/theme/index.svelte b/packages/builder/src/pages/builder/app/[application]/design/theme/index.svelte index f4959abc30..8f6fe37f2c 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/theme/index.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/theme/index.svelte @@ -6,7 +6,9 @@ - Your theme is set across all the screens within your app + + Your theme is set across all the screens within your app +