Update panel text size and improve target panel position wording
This commit is contained in:
parent
753209df59
commit
ee0dd6853a
|
@ -139,7 +139,7 @@
|
|||
{/each}
|
||||
{:else}
|
||||
<Layout paddingX="L" paddingY="XL" gap="S">
|
||||
<Body>Blocks are a collection of pre-built components</Body>
|
||||
<Body size="S">Blocks are collections of pre-built components</Body>
|
||||
<Layout noPadding gap="XS">
|
||||
{#each blocks as block}
|
||||
<div class="component block" on:click={() => addComponent(block)}>
|
||||
|
|
|
@ -8,10 +8,11 @@
|
|||
)
|
||||
$: isScreen = $selectedComponent?._id === $selectedScreen?.props._id
|
||||
$: title = isScreen ? "Screen" : $selectedComponent?._instanceName
|
||||
$: position = componentDefinition?.hasChildren ? "inside" : "below"
|
||||
</script>
|
||||
|
||||
<SettingsPanel {title} icon={componentDefinition?.icon}>
|
||||
<Layout paddingX="L" paddingY="XL">
|
||||
<Body>The component you add will be placed inside {title}</Body>
|
||||
<Body size="S">Components you add will be placed {position} {title}</Body>
|
||||
</Layout>
|
||||
</SettingsPanel>
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
|
||||
<NavigationPanel title="Theme">
|
||||
<Layout paddingX="L" paddingY="XL" gap="S">
|
||||
<Body>Your theme is set across all the screens within your app</Body>
|
||||
<Body size="S">
|
||||
Your theme is set across all the screens within your app
|
||||
</Body>
|
||||
<ThemeEditor />
|
||||
</Layout>
|
||||
</NavigationPanel>
|
||||
|
|
Loading…
Reference in New Issue