From c2137dec1d774653ef512a3c3599fe5b1c7186b9 Mon Sep 17 00:00:00 2001 From: Denis Nebytov Date: Thu, 25 Jul 2024 16:27:21 +0300 Subject: [PATCH] breaking words --- src/components/tabs/subtabs/infoPanel.js | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/components/tabs/subtabs/infoPanel.js b/src/components/tabs/subtabs/infoPanel.js index f32d79d..e41bf7a 100644 --- a/src/components/tabs/subtabs/infoPanel.js +++ b/src/components/tabs/subtabs/infoPanel.js @@ -16,59 +16,60 @@ const InfoPanel = ({getters}) => { } = getters const textColor = 'text-orange-700' + const spanProperties = 'w-full break-words ' + textColor return (
Balance: - {balance.length > 0 ? balance : '-'} + {balance.length > 0 ? balance : '-'}
UTxOs: {utxos.length > 0 ? ( utxos.map((utxo, index) => ( -

+

{utxo}

)) ) : ( - - + - )}
Change address: - + {changeAddress.length > 0 ? changeAddress : '-'}
Reward address: - {rewardAddress.length > 0 ? rewardAddress : '-'} + {rewardAddress.length > 0 ? rewardAddress : '-'}
Used address: - {usedAddress.length > 0 ? usedAddress : '-'} + {usedAddress.length > 0 ? usedAddress : '-'}
Unused address: - {unusedAddress.length > 0 ? unusedAddress : '-'} + {unusedAddress.length > 0 ? unusedAddress : '-'}
DRep ID Hex: - {dRepIdHex.length > 0 ? dRepIdHex : '-'} + {dRepIdHex.length > 0 ? dRepIdHex : '-'}
DRep ID Bech32: - {dRepIdBech32.length > 0 ? dRepIdBech32 : '-'} + {dRepIdBech32.length > 0 ? dRepIdBech32 : '-'}
Registered public key (first): - {regPubStakeKey.length > 0 ? regPubStakeKey : '-'} + {regPubStakeKey.length > 0 ? regPubStakeKey : '-'}
Unregistered public key (first): - {unregPubStakeKey.length > 0 ? unregPubStakeKey : '-'} + {unregPubStakeKey.length > 0 ? unregPubStakeKey : '-'}