fix: comment visualization in table and fields popovers

This commit is contained in:
santilapi13 2024-04-11 19:15:28 -03:00
parent 217b7e8234
commit dd57df8bc2

View File

@ -168,7 +168,7 @@ export default function Table(props) {
position="rightTop"
showArrow
trigger="click"
style={{ width: "200px" }}
style={{ width: "200px", wordBreak: "break-word" }}
>
<Button
icon={<IconMore />}
@ -219,10 +219,19 @@ export default function Table(props) {
<strong>Default :</strong>{" "}
{e.default === "" ? "Not set" : e.default}
</p>
<p>
<strong>Comment:</strong>{" "}
{e.comment === "" ? (
"Not comment"
) : (
<div>{e.comment}</div>
)}
</p>
</div>
}
position="right"
showArrow
style={{ width: "200px", wordBreak: "break-word" }}
>
{field(e, i)}
</Popover>