Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Wallet] aum / WALL-2271 / fix-ui-crypto-deposit #10850

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
.wallets-deposit-crypto {
display: flex;
flex-direction: column;
padding-top: 2.4rem;
justify-content: center;
gap: 2.4rem;
position: relative;

@include mobile {
width: 100%;
justify-content: start;
padding-top: 0rem;
gap: 1.6rem;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const DepositCryptoAddress = () => {

return (
<div className='wallets-deposit-crypto-address'>
<QRCode size={isMobile ? 128 : 160} value={depositCryptoAddress || ''} />
<QRCode size={128} value={depositCryptoAddress || ''} />
<div className='wallets-deposit-crypto-address__hash-container'>
<p className='wallets-deposit-crypto-address__hash'>{depositCryptoAddress}</p>
<WalletClipboard
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React from 'react';
import { useActiveWalletAccount } from '@deriv/api';
import './DepositCryptoCurrencyDetails.scss';
import { WalletText } from '../../../../../../components';

const DepositCryptoCurrencyDetails = () => {
const { data } = useActiveWalletAccount();

return (
<p className='wallets-deposit-crypto-currency-details'>
<WalletText align='center' size='md' weight='bold'>
Send only {data?.currency_config?.name} ({data?.currency_config?.display_code}) to this address.
</p>
</WalletText>
);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@
justify-content: center;
gap: 2.4rem;

@include mobile {
gap: 1.6rem;
}

&__content {
line-height: 1.4rem;
}

&__note {
display: flex;
justify-content: center;
font-size: 1.2rem;
line-height: 1.8rem;
text-align: center;
display: flex;
justify-content: center;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ const DepositCryptoDisclaimers = () => {
<div className='wallets-deposit-crypto-disclaimers'>
<InlineMessage>
<div className='wallets-deposit-crypto-disclaimers__content'>
<p>To avoid loss of funds:</p>
<WalletText size='2xs' weight='bold'>
To avoid loss of funds:
</WalletText>
<br />
{data?.currency_config?.minimum_deposit && (
<li>
Expand Down