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 title
)} )}
<span className="text-status-red">{required ? " *" : ""}</span> <span className={(info === '' ? '' : 'ml-1 ') + " text-status-red"}>{required ? " *" : ""}</span>
<div className=""> <div className="">
{info !== "" && ( {info !== "" && (
<ShadTooltip content={infoHtml.current}> <ShadTooltip content={infoHtml.current}>