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> <p>
<strong>Comment:</strong>{" "} <strong>Comment:</strong>{" "}
{e.comment === "" ? ( {e.comment === "" ? (
"Not comment" "No comment"
) : ( ) : (
<div>{e.comment}</div> <div style={{ maxWidth: "260px", wordBreak: "break-word" }}>{e.comment}</div>
)} )}
</p> </p>
</div> </div>
} }
position="right" position="right"
showArrow showArrow
style={{ width: "200px", wordBreak: "break-word" }}
> >
{field(e, i)} {field(e, i)}
</Popover> </Popover>