From 32e46da4404c39035cae9e4518aef6fd5067f132 Mon Sep 17 00:00:00 2001 From: Coracle-Bot Date: Fri, 11 Sep 2026 16:20:39 +0000 Subject: [PATCH] Stack the hosting relay row and corner its alert dismiss on mobile --- .../components/hosting/BillingPrompts.svelte | 37 ++++++++++++------- .../components/hosting/RelayListItem.svelte | 16 ++++---- 2 files changed, 32 insertions(+), 21 deletions(-) diff --git a/src/app/components/hosting/BillingPrompts.svelte b/src/app/components/hosting/BillingPrompts.svelte index 196ceab9..9c1263bd 100644 --- a/src/app/components/hosting/BillingPrompts.svelte +++ b/src/app/components/hosting/BillingPrompts.svelte @@ -70,19 +70,30 @@ }) -{#snippet card(className: string, icon: string, message: string, actions: Snippet)} -
-
- +{#snippet card( + className: string, + icon: string, + message: string, + actions: Snippet, + dismiss?: () => void, +)} +
+ +

{message}

+
+ {@render actions()} +
-
- {@render actions()} -
+ {#if dismiss} + + {/if}
{/snippet} @@ -112,9 +123,6 @@ {#snippet autopayActions()} - {/snippet} {#if tenant} @@ -152,6 +160,7 @@ InfoCircle, "Set up automatic payments so your subscription renews without interruption.", autopayActions, + dismissAutopay, )} {/if} {/if} diff --git a/src/app/components/hosting/RelayListItem.svelte b/src/app/components/hosting/RelayListItem.svelte index 1d611cff..583e9e29 100644 --- a/src/app/components/hosting/RelayListItem.svelte +++ b/src/app/components/hosting/RelayListItem.svelte @@ -19,13 +19,15 @@ const href = $derived(makeSpacePath(getHostedRelayUrl(relay), "admin")) -
- -
-

{name}

-

{host}

+
+
+ +
+

{name}

+

{host}

+
-
+
{#if relay.sync_error} Failed to sync {:else} @@ -36,6 +38,6 @@ {ucFirst(relay.plan_id)} + Manage
- Manage