From af4d3c0c215457e43cdf91f474cbf9f44b420f40 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 7 Apr 2022 15:32:46 +0100 Subject: [PATCH] Split buttons into left and right sides --- .../backend/DataTable/DataTable.svelte | 52 +++++++++++-------- 1 file changed, 29 insertions(+), 23 deletions(-) diff --git a/packages/builder/src/components/backend/DataTable/DataTable.svelte b/packages/builder/src/components/backend/DataTable/DataTable.svelte index 0a1244d9c9..fd2045fc07 100644 --- a/packages/builder/src/components/backend/DataTable/DataTable.svelte +++ b/packages/builder/src/components/backend/DataTable/DataTable.svelte @@ -138,30 +138,29 @@ {/if} -
-
- {#if hasCols} - - {#if isUsersTable} - - {/if} - {#if !isInternal} - + + {#if isUsersTable} + + {/if} + {#if !isInternal} + + {/if} + + + + - {/if} - - - - - {#key id} - - {/key} - {/if} + {#key id} + + {/key} + +
Let's create some columns! @@ -195,4 +194,11 @@ align-items: center; margin-top: var(--spacing-xl); } + .buttons { + flex: 1 1 auto; + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + }