From 8732fe9327416a58d2468eafb98f5a315b9a8272 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 27 Sep 2022 09:30:54 +0100 Subject: [PATCH] Update groups page styles when user does not have access --- .../builder/portal/manage/groups/index.svelte | 54 ++++++++++--------- 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/packages/builder/src/pages/builder/portal/manage/groups/index.svelte b/packages/builder/src/pages/builder/portal/manage/groups/index.svelte index a5707e00dd..b81918ba89 100644 --- a/packages/builder/src/pages/builder/portal/manage/groups/index.svelte +++ b/packages/builder/src/pages/builder/portal/manage/groups/index.svelte @@ -90,16 +90,14 @@ - User groups - {#if !$licensing.groupsEnabled} - -
-
- Pro plan -
-
-
- {/if} +
+ User groups + {#if !$licensing.groupsEnabled} + + Pro plan + + {/if} +
Easily assign and manage your users' access with user groups. {#if !$auth.accountPortalAccess && !$licensing.groupsEnabled && $admin.cloud} @@ -123,6 +121,7 @@ {:else} {/if} -
- -
+ {#if $licensing.groupsEnabled} +
+ +
+ {/if} - $goto(`./${detail._id}`)} - {schema} - data={filteredGroups} - allowEditColumns={false} - allowEditRows={false} - {customRenderers} - /> + {#if $licensing.groupsEnabled} +
$goto(`./${detail._id}`)} + {schema} + data={filteredGroups} + allowEditColumns={false} + allowEditRows={false} + {customRenderers} + /> + {/if} @@ -175,8 +178,11 @@ .controls-right :global(.spectrum-Search) { width: 200px; } - .tag { - margin-top: var(--spacing-xs); - margin-left: var(--spacing-m); + .title { + display: flex; + flex-direction: row; + align-items: center; + justify-content: flex-start; + gap: var(--spacing-m); }