1
0
Fork 0
mirror of synced 2024-07-17 12:15:59 +12:00

Update action setting to be full width

This commit is contained in:
Andrew Kingston 2023-07-11 11:11:25 +01:00
parent 19fab7fa97
commit f084a36fe7

View file

@ -70,8 +70,9 @@
} set`
</script>
<div class="action-count">{actionText}</div>
<ActionButton on:click={openDrawer}>Define actions</ActionButton>
<div class="action-editor">
<ActionButton on:click={openDrawer}>{actionText}</ActionButton>
</div>
<Drawer bind:this={drawer} title={"Actions"}>
<svelte:fragment slot="description">
@ -89,9 +90,7 @@
</Drawer>
<style>
.action-count {
padding-top: 6px;
padding-bottom: var(--spacing-s);
font-weight: 600;
.action-editor :global(.spectrum-ActionButton) {
width: 100%;
}
</style>