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
|
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}>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue