From eb9e9b4951d588e9a982de7e5e1879c24309ec07 Mon Sep 17 00:00:00 2001 From: JCNoguera Date: Wed, 24 Apr 2024 16:05:07 +0200 Subject: [PATCH] styles: fix amount breaking into a new line in the block page too --- client/src/app/components/nova/OutputView.tsx | 70 +++++++++---------- 1 file changed, 34 insertions(+), 36 deletions(-) diff --git a/client/src/app/components/nova/OutputView.tsx b/client/src/app/components/nova/OutputView.tsx index 82edd8268..92eabe0e3 100644 --- a/client/src/app/components/nova/OutputView.tsx +++ b/client/src/app/components/nova/OutputView.tsx @@ -99,45 +99,43 @@ const OutputView: React.FC = ({ outputId, output, showCopyAmoun > -
-
- -
- ( - {isLinksDisabled ? ( -
- {outputIdTransactionPart} - {outputIdIndexPart} -
- ) : ( - - {outputIdTransactionPart} - {outputIdIndexPart} - - )} - ) - -
- {specialUnlockCondition} -
-
- {showCopyAmount && ( -
- { - setIsFormattedBalance(!isFormattedBalance); - e.stopPropagation(); - }} - > - {formatAmount(output.amount, tokenInfo, !isFormattedBalance)} - +
+ +
+ ( + {isLinksDisabled ? ( +
+ {outputIdTransactionPart} + {outputIdIndexPart}
+ ) : ( + + {outputIdTransactionPart} + {outputIdIndexPart} + )} - {showCopyAmount && } + ) +
+ {specialUnlockCondition} +
+
+ {showCopyAmount && ( +
+ { + setIsFormattedBalance(!isFormattedBalance); + e.stopPropagation(); + }} + > + {formatAmount(output.amount, tokenInfo, !isFormattedBalance)} + +
+ )} + {showCopyAmount && }
);