Skip to content

Commit b719a19

Browse files
authored
fix: available balance message (#396)
1 parent 7687379 commit b719a19

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

src/components/Modals/AvailableP2PBalanceModal/AvailableP2PBalanceModal.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
&__note {
2727
font-style: italic;
28-
margin: 1.6rem 0;
28+
margin: 1.6rem 0 2.4rem;
2929
}
3030

3131
@include mobile-or-tablet-screen {

src/components/Modals/AvailableP2PBalanceModal/AvailableP2PBalanceModal.tsx

+9-6
Original file line numberDiff line numberDiff line change
@@ -19,28 +19,31 @@ const AvailableP2PBalanceModal = ({ isModalOpen, onRequestClose }: TAvailableP2P
1919
style={customStyles}
2020
testId='dt_available_p2p_balance_modal'
2121
>
22-
<Modal.Header className='p-0 h-auto' hideBorder hideCloseIcon>
22+
<Modal.Header className='pl-0 h-auto' hideBorder hideCloseIcon>
2323
<Text as='p' weight='bold'>
2424
<Localize i18n_default_text='Deriv P2P balance' />
2525
</Text>
2626
</Modal.Header>
2727
<Modal.Body>
2828
<Text as='p' className='available-balance-modal__text' size='sm'>
29-
<Localize i18n_default_text='Your Deriv P2P balance includes:' />
29+
<Localize i18n_default_text='Your Deriv P2P balance is made up of:' />
3030
</Text>
3131
<ol className='available-balance-modal__list'>
3232
<Text as='li' size='sm'>
33-
<Localize i18n_default_text='P2P deposits: Funds received from buying USD from another Deriv P2P user.' />
33+
<Localize i18n_default_text='Funds you received from buying USD on Deriv P2P.' />
3434
</Text>
3535
<Text as='li' size='sm'>
36-
<Localize i18n_default_text='Non-reversible deposits: Deposits from non-reversible payment methods.' />
36+
<Localize i18n_default_text='Profits from your trades, which you can sell to other Deriv P2P users.' />
37+
</Text>
38+
<Text as='li' size='sm'>
39+
<Localize i18n_default_text='Deposits you made through non-reversible payment methods.' />
3740
</Text>
3841
</ol>
3942
<Text as='p' className='available-balance-modal__note' size='sm'>
40-
<Localize i18n_default_text='Note: Funds deposited using reversible payment methods, like credit cards, Maestro, Diners Club, ZingPay, Skrill, Neteller, Ozow, and UPI QR will not appear in your P2P balance.' />
43+
<Localize i18n_default_text='Note: Funds deposited using reversible payment methods, like credit cards, Maestro, Diners Club, ZingPay, Skrill, Neteller, Ozow, and UPI QR, will not appear in your P2P balance.' />
4144
</Text>
4245
</Modal.Body>
43-
<Modal.Footer className='p-0 min-h-auto' hideBorder>
46+
<Modal.Footer className='p-0 min-h-fit' hideBorder>
4447
<Button onClick={onRequestClose} size='lg' textSize='sm'>
4548
<Localize i18n_default_text='OK' />
4649
</Button>

0 commit comments

Comments
 (0)