1
0
Fork 0
mirror of synced 2024-09-30 00:57:16 +13:00

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

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>