fix: set field comment width instead of popover width

This commit is contained in:
santilapi13 2024-04-11 23:30:40 -03:00
parent 6580a40017
commit 0797a3fd7a

View File

@ -223,16 +223,15 @@ export default function Table(props) {
<p>
<strong>Comment:</strong>{" "}
{e.comment === "" ? (
"Not comment"
"No comment"
) : (
<div>{e.comment}</div>
<div style={{ maxWidth: "260px", wordBreak: "break-word" }}>{e.comment}</div>
)}
</p>
</div>
}
position="right"
showArrow
style={{ width: "200px", wordBreak: "break-word" }}
>
{field(e, i)}
</Popover>