diff --git a/components/Paybutton/paybutton.module.css b/components/Paybutton/paybutton.module.css index b525998f..9212b388 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 8a5de224..91b41242 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') && -
- - -
} +