Fix: required icon without margin left when info icon exists

This commit is contained in:
igorrCarvalho 2024-02-24 17:28:05 -03:00
commit 8b021fa826

View file

@ -324,7 +324,7 @@ export default function ParameterComponent({
) : (
title
)}
<span className="text-status-red">{required ? " *" : ""}</span>
<span className={(info === '' ? '' : 'ml-1 ') + " text-status-red"}>{required ? " *" : ""}</span>
<div className="">
{info !== "" && (
<ShadTooltip content={infoHtml.current}>