pay pre wrap (#2659)

This commit is contained in:
Archer
2024-09-10 14:04:57 +08:00
committed by GitHub
parent de59b3d2e5
commit 7473be5922

View File

@@ -74,7 +74,7 @@ const QRCodePayModal = ({
return ( return (
<MyModal isOpen title={t('common:user.Pay')} iconSrc="/imgs/modal/pay.svg"> <MyModal isOpen title={t('common:user.Pay')} iconSrc="/imgs/modal/pay.svg">
<ModalBody textAlign={'center'} py={6} whiteSpace={'pre'}> <ModalBody textAlign={'center'} py={6} whiteSpace={'pre-wrap'}>
{tip && ( {tip && (
<Box fontSize={'sm'} whiteSpace={'pre'} mb={3}> <Box fontSize={'sm'} whiteSpace={'pre'} mb={3}>
{tip} {tip}