From 16c455dfbf2d6ff8f8e3572e4cf6d0585e32b74f Mon Sep 17 00:00:00 2001 From: Korbinian Date: Thu, 26 Oct 2023 12:33:01 +0200 Subject: [PATCH] paddings, explorer links, fix crosschainaddress for 1155 --- .../Bridge/NFTBridgeSteps/ReviewStep.svelte | 4 +- .../components/NFTs/NFTCards/NFTCard.svelte | 6 +- .../NFTs/NFTCards/NFTCardGrid.svelte | 56 +++++++++---------- .../src/components/NFTs/NFTDisplay.svelte | 2 +- .../src/components/NFTs/NFTInfoDialog.svelte | 14 ++++- .../components/NFTs/NFTList/NFTList.svelte | 6 +- .../src/libs/token/getCrossChainAddress.ts | 17 +++++- 7 files changed, 65 insertions(+), 40 deletions(-) diff --git a/packages/bridge-ui-v2/src/components/Bridge/NFTBridgeSteps/ReviewStep.svelte b/packages/bridge-ui-v2/src/components/Bridge/NFTBridgeSteps/ReviewStep.svelte index 0a1af579d92..e4b8f5ed1aa 100644 --- a/packages/bridge-ui-v2/src/components/Bridge/NFTBridgeSteps/ReviewStep.svelte +++ b/packages/bridge-ui-v2/src/components/Bridge/NFTBridgeSteps/ReviewStep.svelte @@ -55,7 +55,7 @@
  • {shortenAddress(nft.addresses[currentChain], 8, 12)} @@ -88,7 +88,7 @@ -
    +
    {$t('bridge.nft.step.review.your_tokens')} diff --git a/packages/bridge-ui-v2/src/components/NFTs/NFTCards/NFTCard.svelte b/packages/bridge-ui-v2/src/components/NFTs/NFTCards/NFTCard.svelte index 71724689d19..179e8f7cfbb 100644 --- a/packages/bridge-ui-v2/src/components/NFTs/NFTCards/NFTCard.svelte +++ b/packages/bridge-ui-v2/src/components/NFTs/NFTCards/NFTCard.svelte @@ -45,12 +45,12 @@
    {/if} -
    - {nft.name} +
    + {nft.name}
    {:else} - {nft.name} + {nft.name} {/if}