Update spacing on user and group detail page and fix usage page showing wrong copy

This commit is contained in:
Andrew Kingston 2023-01-13 09:25:12 +00:00
parent 447c98ef5b
commit 31431ac98c
3 changed files with 5 additions and 3 deletions

View File

@ -32,6 +32,8 @@
$: license = $auth.user?.license
$: accountPortalAccess = $auth?.user?.accountPortalAccess
$: quotaReset = quotaUsage?.quotaReset
$: canManagePlan =
($admin.cloud && accountPortalAccess) || (!$admin.cloud && $auth.isAdmin)
const setMonthlyUsage = () => {
monthlyUsage = []
@ -184,7 +186,7 @@
</Body>
</Layout>
<Divider />
{#if $auth?.user?.accountPortalAccess}
{#if canManagePlan}
<Body>
To upgrade your plan and usage limits visit your
<Link size="L" on:click={goToAccountPortal}>account</Link>.

View File

@ -250,7 +250,7 @@
flex-direction: row;
justify-content: flex-start;
align-items: center;
gap: var(--spacing-m);
gap: var(--spacing-l);
}
.header :global(.spectrum-Heading) {
flex: 1 1 auto;

View File

@ -389,6 +389,7 @@
display: flex;
align-items: center;
justify-content: flex-start;
gap: var(--spacing-l);
}
.tableTitle {
display: flex;
@ -396,7 +397,6 @@
align-items: flex-end;
}
.subtitle {
padding: 0 0 0 var(--spacing-m);
display: flex;
flex-direction: column;
justify-content: center;