diff --git a/webapp/src/components/Modals/BuyWithCryptoModal/BuyWithCryptoModal.module.css b/webapp/src/components/Modals/BuyWithCryptoModal/BuyWithCryptoModal.module.css
index 3469774e6d..d817f1a413 100644
--- a/webapp/src/components/Modals/BuyWithCryptoModal/BuyWithCryptoModal.module.css
+++ b/webapp/src/components/Modals/BuyWithCryptoModal/BuyWithCryptoModal.module.css
@@ -395,10 +395,15 @@
}
.buyWithCryptoModal .mainLoader:global(.ui.loader) {
- position: relative;
+ align-self: center;
height: 220px;
}
+.buyWithCryptoModal .mainLoader:global(.ui.loader::before),
+.buyWithCryptoModal .mainLoader:global(.ui.loader::after) {
+ top: 50%;
+}
+
.buyWithCryptoModal .subtitle {
font-size: 15px;
}
diff --git a/webapp/src/components/Modals/BuyWithCryptoModal/BuyWithCryptoModal.tsx b/webapp/src/components/Modals/BuyWithCryptoModal/BuyWithCryptoModal.tsx
index 81c9f88401..c879a3adf4 100644
--- a/webapp/src/components/Modals/BuyWithCryptoModal/BuyWithCryptoModal.tsx
+++ b/webapp/src/components/Modals/BuyWithCryptoModal/BuyWithCryptoModal.tsx
@@ -636,7 +636,10 @@ export const BuyWithCryptoModal = (props: Props) => {
primary
data-testid={GET_MANA_BUTTON_TEST_ID}
loading={isFetchingBalance || isLoading}
- onClick={() => onGetMana()}
+ onClick={() => {
+ onGetMana()
+ onClose()
+ }}
>
{t('buy_with_crypto_modal.get_mana')}
@@ -882,7 +885,7 @@ export const BuyWithCryptoModal = (props: Props) => {
{!providerTokens.length || !selectedToken ? (
-