fix: Wrap icon with span for title

This commit is contained in:
2025-12-10 20:21:45 +01:00
parent e5ce54cf3b
commit f577d66f40

View File

@ -575,10 +575,9 @@ export default function CommandTldDetailPage() {
${registrar.renewal_price.toFixed(2)} ${registrar.renewal_price.toFixed(2)}
</span> </span>
{hasRenewalTrap && ( {hasRenewalTrap && (
<AlertTriangle <span title={`Renewal trap: ${(registrar.renewal_price / registrar.registration_price).toFixed(1)}x registration price`}>
className="w-3.5 h-3.5 text-amber-400 cursor-help" <AlertTriangle className="w-3.5 h-3.5 text-amber-400 cursor-help" />
title={`Renewal trap: ${(registrar.renewal_price / registrar.registration_price).toFixed(1)}x registration price`} </span>
/>
)} )}
</div> </div>
</td> </td>