Align action panel with other designs

This commit is contained in:
Keviin Åberg Kultalahti 2021-04-22 16:38:26 +02:00
parent e03d49ce53
commit 56d8c2a0a6
1 changed files with 6 additions and 7 deletions

View File

@ -51,12 +51,11 @@
}
</script>
<Button secondary wide on:click={drawer.show}>Define Actions</Button>
<Button primary on:click={drawer.show}>Define Actions</Button>
<Drawer bind:this={drawer} title={'Actions'}>
<heading slot="buttons">
<Button thin blue on:click={saveEventData}>Save</Button>
</heading>
<div slot="body">
<EventEditor bind:actions={value} eventType={name} />
</div>
<svelte:fragment slot="description">
Define what actions to run.
</svelte:fragment>
<Button cta slot="buttons" on:click={saveEventData}>Save</Button>
<EventEditor slot="body" bind:actions={value} eventType={name} />
</Drawer>