Skip to content

Commit

Permalink
Merge pull request #33 from santilapi13/popovers_comments
Browse files Browse the repository at this point in the history
Fix to comments visualization in tables and fields popovers
  • Loading branch information
1ilit authored Apr 14, 2024
2 parents 9faf99d + 0797a3f commit 7639dac
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/components/EditorCanvas/Table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 />}
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 7639dac

Please sign in to comment.