Skip to content

Commit

Permalink
fix: set field comment width instead of popover width
Browse files Browse the repository at this point in the history
  • Loading branch information
santilapi13 committed Apr 12, 2024
1 parent 6580a40 commit 0797a3f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/EditorCanvas/Table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,16 +223,15 @@ export default function Table(props) {
<p>
<strong>Comment:</strong>{" "}
{e.comment === "" ? (
"Not comment"
"No comment"
) : (
<div>{e.comment}</div>
<div style={{ maxWidth: "260px", wordBreak: "break-word" }}>{e.comment}</div>
)}
</p>
</div>
}
position="right"
showArrow
style={{ width: "200px", wordBreak: "break-word" }}
>
{field(e, i)}
</Popover>
Expand Down

0 comments on commit 0797a3f

Please sign in to comment.