From 72632836ac86f1082a7391525e3a9e42444ccfd1 Mon Sep 17 00:00:00 2001 From: lissavxo Date: Fri, 26 Dec 2025 13:35:13 -0300 Subject: [PATCH 1/2] fix: hidden buttons wallet edit form --- components/Paybutton/paybutton.module.css | 4 +- components/Wallet/EditWalletForm.tsx | 102 +++++++++++----------- 2 files changed, 54 insertions(+), 52 deletions(-) diff --git a/components/Paybutton/paybutton.module.css b/components/Paybutton/paybutton.module.css index b525998f2..9212b388e 100644 --- a/components/Paybutton/paybutton.module.css +++ b/components/Paybutton/paybutton.module.css @@ -144,9 +144,9 @@ padding: 25px; border-radius: 10px; border: 1px solid var(--secondary-text-color); - overflow-y: auto; max-height: 90vh; - min-height: 44rem; + display: flex; + flex-direction: column; } .form_ctn p { diff --git a/components/Wallet/EditWalletForm.tsx b/components/Wallet/EditWalletForm.tsx index 8a5de2241..46225140d 100644 --- a/components/Wallet/EditWalletForm.tsx +++ b/components/Wallet/EditWalletForm.tsx @@ -87,60 +87,62 @@ export default function EditWalletForm ({ wallet, userAddresses, refreshWalletLi

Edit {wallet.name}

{ void handleSubmit(onSubmit)(e) }} method='post'> - - -

Addresses

-
- {userAddresses.map((addr, index) => ( -
+
+ + +

Addresses

+
+ {userAddresses.map((addr, index) => ( +
+ handleSelectedAddressesChange(e.target.checked, addr.id) } + /> + +
+ ))} +
+
+
+ {usedNetworks.some(network => network.ticker === 'xec') && +
+ + +
} + {usedNetworks.some(network => network.ticker === 'bch') && +
handleSelectedAddressesChange(e.target.checked, addr.id) } + {...register('isBCHDefault')} + defaultChecked={wallet.userProfile?.isBCHDefault === true} + type="checkbox" + id='isBCHDefault' + disabled={wallet.userProfile?.isBCHDefault === true} /> - +
- ))} -
-
-
- {usedNetworks.some(network => network.ticker === 'xec') && -
- - -
} - {usedNetworks.some(network => network.ticker === 'bch') && -
- - -
} +
From 9d7e01c11193dea825bf655714f015fc17a223c1 Mon Sep 17 00:00:00 2001 From: lissavxo Date: Fri, 26 Dec 2025 22:46:34 -0300 Subject: [PATCH 2/2] refactor: clean up --- components/Wallet/EditWalletForm.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/Wallet/EditWalletForm.tsx b/components/Wallet/EditWalletForm.tsx index 46225140d..91b412421 100644 --- a/components/Wallet/EditWalletForm.tsx +++ b/components/Wallet/EditWalletForm.tsx @@ -110,7 +110,7 @@ export default function EditWalletForm ({ wallet, userAddresses, refreshWalletLi /> @@ -128,7 +128,7 @@ export default function EditWalletForm ({ wallet, userAddresses, refreshWalletLi id='isXECDefault' disabled={wallet.userProfile?.isXECDefault === true} /> - +
} {usedNetworks.some(network => network.ticker === 'bch') &&
@@ -139,7 +139,7 @@ export default function EditWalletForm ({ wallet, userAddresses, refreshWalletLi id='isBCHDefault' disabled={wallet.userProfile?.isBCHDefault === true} /> - +
}