From d1422dfd3691d4bcd69dc84c50da5e56a40c29f6 Mon Sep 17 00:00:00 2001 From: David Walsh Date: Wed, 15 Mar 2023 13:35:27 -0500 Subject: [PATCH] Implement in Address Details modal --- .../multichain/address-copy-button/index.js | 2 +- ui/components/ui/qr-code/qr-code.js | 44 +++++++++++-------- 2 files changed, 27 insertions(+), 19 deletions(-) diff --git a/ui/components/multichain/address-copy-button/index.js b/ui/components/multichain/address-copy-button/index.js index ed49d36415b3..e5a09c20d552 100644 --- a/ui/components/multichain/address-copy-button/index.js +++ b/ui/components/multichain/address-copy-button/index.js @@ -31,7 +31,7 @@ export const AddressCopyButton = ({ paddingRight={3} paddingLeft={3} size={Size.SM} - style={{ borderRadius: '999px' }} + style={{ borderRadius: '999px', ...(wrap ? { height: 'auto' } : {}) }} > - -
{ - handleCopy(toChecksumHexAddress(data)); - }} + {process.env.MULTICHAIN ? ( + + + + ) : ( + -
{toChecksumHexAddress(data)}
- -
-
+
{ + handleCopy(toChecksumHexAddress(data)); + }} + > +
{toChecksumHexAddress(data)}
+ +
+ + )} ); }