update sync automation css

This commit is contained in:
Peter Clement 2023-06-28 15:59:04 +01:00
parent c5df68973e
commit 847684daf1
1 changed files with 11 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<script> <script>
import { Select, Label, Input, Checkbox, Icon } from "@budibase/bbui" import { Select, Label, Input, Checkbox, Icon, Body } from "@budibase/bbui"
import { automationStore } from "builderStore" import { automationStore } from "builderStore"
import DrawerBindableInput from "components/common/bindings/DrawerBindableInput.svelte" import DrawerBindableInput from "components/common/bindings/DrawerBindableInput.svelte"
import { TriggerStepID, ActionStepID } from "constants/backend/automations" import { TriggerStepID, ActionStepID } from "constants/backend/automations"
@ -77,13 +77,16 @@
/> />
</div> </div>
</div> </div>
<div class="params"> <div class="fields">
<!-- {#if parameters.synchronous} <Label small />
{#if parameters.synchronous}
<div class="synchronous-info"> <div class="synchronous-info">
<Icon name="Info" /> <Icon size="XS" name="Info" />
<div>This automation will run synchronously</div> <Body size="XS">This automation will run synchronously</Body>
</div> </div>
{/if} --> {/if}
</div>
<div class="fields">
{#if parameters.synchronous} {#if parameters.synchronous}
<Label small>Timeout</Label> <Label small>Timeout</Label>
@ -151,6 +154,8 @@
.synchronous-info { .synchronous-info {
display: flex; display: flex;
gap: var(--spacing-s); gap: var(--spacing-s);
margin-top: calc(var(--spacing-m) * -1);
} }
.fields { .fields {