diff --git a/packages/bbui/src/Icon/Icon.svelte b/packages/bbui/src/Icon/Icon.svelte index 863c5413b7..5e421cd753 100644 --- a/packages/bbui/src/Icon/Icon.svelte +++ b/packages/bbui/src/Icon/Icon.svelte @@ -29,7 +29,8 @@ focusable="false" aria-hidden={hidden} aria-label={name} - style={`transform: rotate(${rotation}deg)`}> + style={`transform: rotate(${rotation}deg)`} +> diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte index 8804160b7a..a385ad1307 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte @@ -14,6 +14,7 @@ $: allowDeleteTrigger = !steps.length function deleteStep() { + console.log('Running') automationStore.actions.deleteAutomationBlock(block) } @@ -37,7 +38,7 @@ {#if block.type === 'TRIGGER'}Trigger{:else}Step {blockIdx + 1}{/if} {#if block.type !== 'TRIGGER' || allowDeleteTrigger} - +
{/if}
@@ -92,18 +93,4 @@ cursor: pointer; opacity: 1; } - - .ACTION { - } - - .TRIGGER { - } - - .LOGIC { - } - - p { - color: inherit; - margin-bottom: 0; - } diff --git a/packages/builder/src/components/automation/AutomationPanel/CreateAutomationModal.svelte b/packages/builder/src/components/automation/AutomationPanel/CreateAutomationModal.svelte index 45dfffbea5..d91937b812 100644 --- a/packages/builder/src/components/automation/AutomationPanel/CreateAutomationModal.svelte +++ b/packages/builder/src/components/automation/AutomationPanel/CreateAutomationModal.svelte @@ -3,7 +3,7 @@ import { database } from "stores/backend" import { automationStore } from "builderStore" import { notifications } from "@budibase/bbui" - import { Input, ModalContent } from "@budibase/bbui" + import { Icon, Input, ModalContent } from "@budibase/bbui" import analytics from "analytics" let name @@ -33,7 +33,7 @@ slot="footer" target="_blank" href="https://docs.budibase.com/automate/introduction-to-automate"> - + Learn about automations @@ -49,10 +49,10 @@ } a span { text-decoration: underline; + margin-left: var(--spectrum-alias-item-padding-s); } i { font-size: 20px; - margin-right: var(--spacing-m); text-decoration: none; }