From 620a22dcb1ce77a9335dff8bbe0546c4c5065b23 Mon Sep 17 00:00:00 2001 From: Korbinian Date: Thu, 22 Feb 2024 12:21:10 +0100 Subject: [PATCH] fix(bridge-ui): transactions view styling (#15997) --- .../Transactions/Transaction.svelte | 41 ++++++++++--------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/packages/bridge-ui/src/components/Transactions/Transaction.svelte b/packages/bridge-ui/src/components/Transactions/Transaction.svelte index c00002dece5..c5606a76526 100644 --- a/packages/bridge-ui/src/components/Transactions/Transaction.svelte +++ b/packages/bridge-ui/src/components/Transactions/Transaction.svelte @@ -92,28 +92,29 @@ -
+
{#if isDesktopOrLarger} - {#if loading} -
- -
-
- - - -
- {:else} - nft -
-
{token?.name ? truncateString(token?.name, 15) : ''}
-
- {token?.metadata?.name ? truncateString(token?.metadata?.name, 15) : ''} +
+ {#if loading} +
+
-
{token?.tokenId}
-
- {/if} - +
+ + + +
+ {:else} + nft +
+
{token?.name ? truncateString(token?.name, 15) : 'No Token Name'}
+
+ {token?.metadata?.name ? truncateString(token?.metadata?.name, 15) : ''} +
+
{token?.tokenId}
+
+ {/if} +