From c678a5ffbe6855280da750f56244f3af0a9f17e5 Mon Sep 17 00:00:00 2001 From: Dean Date: Thu, 19 May 2022 09:56:47 +0100 Subject: [PATCH] Minor reflow of the overview tab cards and layout --- .../src/components/common/DashCard.svelte | 4 +-- .../overview/_components/OverviewTab.svelte | 27 ++++++++++--------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/packages/builder/src/components/common/DashCard.svelte b/packages/builder/src/components/common/DashCard.svelte index b3a2ac7d69..800001a614 100644 --- a/packages/builder/src/components/common/DashCard.svelte +++ b/packages/builder/src/components/common/DashCard.svelte @@ -33,13 +33,13 @@ min-height: 150px; } .dash-card-header { - padding: var(--spacing-l); + padding: var(--spacing-xl) calc(var(--spacing-xl) * 2); border-bottom: 1px solid var(--spectrum-global-color-gray-300); display: flex; justify-content: space-between; } .dash-card-body { - padding: var(--spacing-l); + padding: var(--spacing-xl) calc(var(--spacing-xl) * 2); } .dash-card-title :global(.spectrum-Detail) { color: var( diff --git a/packages/builder/src/pages/builder/portal/overview/_components/OverviewTab.svelte b/packages/builder/src/pages/builder/portal/overview/_components/OverviewTab.svelte index 7100b4d725..aa2a55ad02 100644 --- a/packages/builder/src/pages/builder/portal/overview/_components/OverviewTab.svelte +++ b/packages/builder/src/pages/builder/portal/overview/_components/OverviewTab.svelte @@ -62,7 +62,7 @@ {/if} -

+

{#if deployments?.length} {processStringSync( "Last published {{ duration time 'millisecond' }} ago", @@ -76,7 +76,7 @@ {#if !deployments?.length} - {/if} -

+
@@ -95,7 +95,7 @@ {:catch error}

Could not fetch user: {error.message}

{/await} -

+

{#if app} {processStringSync( "Last edited {{ duration time 'millisecond' }} ago", @@ -105,7 +105,7 @@ } )} {/if} -

+
{$store.version} {#if updateAvailable} -

+

New version {clientPackage.version} is available - Update -

+
{:else} -

You're running the latest!

+
You're running the latest!
{/if}
@@ -181,29 +181,25 @@