Skip to content

Commit

Permalink
fix: comment visualization in table and fields popovers
Browse files Browse the repository at this point in the history
  • Loading branch information
santilapi13 committed Apr 11, 2024
1 parent 217b7e8 commit dd57df8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/components/EditorCanvas/Table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 />}
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit dd57df8

Please sign in to comment.