Fix DOM crash by adding notranslate, translate=no to payment form and wrap price in span tag
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 1m0s
Details
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 1m0s
Details
This commit is contained in:
parent
c36a707b77
commit
d9a67f60ff
|
|
@ -296,7 +296,7 @@ export default function CourseUnlockModal({ course, user, onClose, onSuccess, to
|
|||
</div>
|
||||
|
||||
{/* Right: Payment Forms */}
|
||||
<div className="w-full md:w-1/2 p-6 md:p-8 flex flex-col space-y-6 max-h-[85vh] overflow-y-auto custom-scrollbar bg-[#111]">
|
||||
<div className="w-full md:w-1/2 p-6 md:p-8 flex flex-col space-y-6 max-h-[85vh] overflow-y-auto custom-scrollbar bg-[#111] notranslate" translate="no">
|
||||
<div>
|
||||
<h4 className="font-display font-bold text-sm text-white uppercase tracking-wider mb-4">Escolha a forma de pagamento</h4>
|
||||
|
||||
|
|
@ -342,7 +342,8 @@ export default function CourseUnlockModal({ course, user, onClose, onSuccess, to
|
|||
<div className="space-y-4 text-center">
|
||||
{!paymentData ? (
|
||||
<div className="text-zinc-400 text-xs py-4 text-center">
|
||||
Clique em Confirmar para gerar seu QR Code PIX no valor de R$ {currentPrice.toFixed(2)}
|
||||
<span>Clique em Confirmar para gerar seu QR Code PIX no valor de R$ </span>
|
||||
<span className="font-bold">{currentPrice.toFixed(2)}</span>
|
||||
</div>
|
||||
) : (
|
||||
<>
|
||||
|
|
|
|||
Loading…
Reference in New Issue