Fix spacing in SelectEditRenderer

This commit is contained in:
Andrew Kingston 2022-02-24 09:12:45 +00:00
parent d7d7559402
commit c4dcd29dc3
1 changed files with 18 additions and 6 deletions

View File

@ -8,9 +8,21 @@
export let allowEditRows = false
</script>
{#if allowSelectRows}
<div>
{#if allowSelectRows}
<Checkbox value={selected} />
{/if}
{#if allowEditRows}
{/if}
{#if allowEditRows}
<ActionButton size="S" on:click={onEdit}>Edit</ActionButton>
{/if}
{/if}
</div>
<style>
div {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
gap: var(--spacing-m);
}
</style>