Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilhem-lm committed Jan 8, 2025
1 parent f662e58 commit 025dc9e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions frontend/src/lib/components/EditableSchemaForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,13 @@
{#if !noPreview}
<Pane bind:size={inputPanelSize} minSize={20}>
<div class="flex flex-col pr-2 gap-2">
<div class="w-full justify-left pr-2">
<div style={`width: calc(100% - ${pannelButtonWidth - pannelExtraButtonWidth}px);`}>
<slot name="addProperty" />
{#if $$slots.addProperty}
<div class="w-full justify-left pr-2">
<div style={`width: calc(100% - ${pannelButtonWidth - pannelExtraButtonWidth}px);`}>
<slot name="addProperty" />
</div>
</div>
</div>
{/if}

<SchemaFormDnd
schema={previewSchema ? previewSchema : schema}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lib/components/FirstStepInputs.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
</FlowModuleSchemaItemViewer>
</button>
{:else}
<Alert type="warning" title="Cannot load first step's inputs">
<Alert type="warning" title="Cannot load first step's inputs" size="xs">
{error}
</Alert>
{/if}
Expand Down

0 comments on commit 025dc9e

Please sign in to comment.