diff --git a/packages/bbui/src/Layout/Layout.svelte b/packages/bbui/src/Layout/Layout.svelte index c66a409242..ce37850811 100644 --- a/packages/bbui/src/Layout/Layout.svelte +++ b/packages/bbui/src/Layout/Layout.svelte @@ -40,6 +40,10 @@ padding-left: var(--spacing-xl); padding-right: var(--spacing-xl); } + .paddingX-XXL { + padding-left: calc(var(--spacing-xl) * 2); + padding-right: calc(var(--spacing-xl) * 2); + } .paddingY-S { padding-top: var(--spacing-s); padding-bottom: var(--spacing-s); @@ -56,6 +60,10 @@ padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); } + .paddingY-XXL { + padding-top: calc(var(--spacing-xl) * 2); + padding-bottom: calc(var(--spacing-xl) * 2); + } .gap-XXS { grid-gap: var(--spacing-xs); } diff --git a/packages/bbui/src/Layout/Page.svelte b/packages/bbui/src/Layout/Page.svelte index c12d54787b..2996bcc613 100644 --- a/packages/bbui/src/Layout/Page.svelte +++ b/packages/bbui/src/Layout/Page.svelte @@ -1,9 +1,10 @@ -
- {#if deployments?.length} - {processStringSync( - "Last published {{ duration time 'millisecond' }} ago", - { - time: - new Date().getTime() - - new Date(deployments[0].updatedAt).getTime(), - } - )} - {/if} - {#if !deployments?.length} - - - {/if} -
-Could not fetch user: {error.message}
- {/await} -- {#if app} - {processStringSync( - "Last edited {{ duration time 'millisecond' }} ago", - { - time: new Date().getTime() - new Date(app?.updatedAt).getTime(), - } - )} - {/if} -
-- New version {clientPackage.version} is available - - { - if (typeof navigateTab === "function") { - navigateTab("Settings") + +
+ {#if deployments?.length} + {processStringSync( + "Last published {{ duration time 'millisecond' }} ago", + { + time: + new Date().getTime() - + new Date(deployments[0].updatedAt).getTime(), } - }} - > - Update - + )} + {/if} + {#if !deployments?.length} + - + {/if}
- {:else} -You're running the latest!
- {/if} -Could not fetch user: {error.message}
+ {/await} ++ {#if app} + {processStringSync( + "Last edited {{ duration time 'millisecond' }} ago", + { + time: + new Date().getTime() - new Date(app?.updatedAt).getTime(), + } + )} + {/if} +
+ New version {clientPackage.version} is available + - + { + if (typeof navigateTab === "function") { + navigateTab("Settings") + } + }} + > + Update + +
+ {:else} +You're running the latest!
+ {/if} +