Fix: required icon without margin left when info icon exists
This commit is contained in:
parent
927b5c59d4
commit
8b021fa826
1 changed files with 1 additions and 1 deletions
|
|
@ -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}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue