1
0
Fork 0
mirror of synced 2024-09-21 03:43:21 +12:00

Fix styles in generate button and hide generate button for users table

This commit is contained in:
Andrew Kingston 2024-08-22 08:06:38 +01:00
parent 7431d1c8da
commit acb3893730
No known key found for this signature in database
2 changed files with 34 additions and 22 deletions

View file

@ -62,6 +62,7 @@
<svelte:fragment slot="anchor" let:open>
<ActionButton icon="MagicWand" selected={open}>Generate</ActionButton>
</svelte:fragment>
<div class="menu">
<Menu>
<MenuItem
icon="ShareAndroid"
@ -82,4 +83,14 @@
Automation: when row is updated
</MenuItem>
</Menu>
</div>
</DetailPopover>
<style>
.menu {
margin: 0 calc(-1 * var(--spacing-xl));
display: flex;
flex-direction: column;
align-items: stretch;
}
</style>

View file

@ -128,9 +128,10 @@
{/if}
<GridExportButton />
</svelte:fragment>
<svelte:fragment slot="controls-right">
{#if !isUsersTable}
<GridGenerateButton bind:this={generateButton} />
{/if}
</svelte:fragment>
<!-- Content for editing columns -->