Merge pull request #33 from santilapi13/popovers_comments

Fix to comments visualization in tables and fields popovers
This commit is contained in:
1ilit 2024-04-14 09:57:43 +03:00 committed by GitHub
commit 7639dacb14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -169,7 +169,7 @@ export default function Table(props) {
position="rightTop"
showArrow
trigger="click"
style={{ width: "200px" }}
style={{ width: "200px", wordBreak: "break-word" }}
>
<Button
icon={<IconMore />}
@ -220,6 +220,14 @@ export default function Table(props) {
<strong>Default :</strong>{" "}
{e.default === "" ? "Not set" : e.default}
</p>
<p>
<strong>Comment:</strong>{" "}
{e.comment === "" ? (
"No comment"
) : (
<div style={{ maxWidth: "260px", wordBreak: "break-word" }}>{e.comment}</div>
)}
</p>
</div>
}
position="right"