fix: set field comment width instead of popover width
This commit is contained in:
parent
6580a40017
commit
0797a3fd7a
@ -223,16 +223,15 @@ export default function Table(props) {
|
|||||||
<p>
|
<p>
|
||||||
<strong>Comment:</strong>{" "}
|
<strong>Comment:</strong>{" "}
|
||||||
{e.comment === "" ? (
|
{e.comment === "" ? (
|
||||||
"Not comment"
|
"No comment"
|
||||||
) : (
|
) : (
|
||||||
<div>{e.comment}</div>
|
<div style={{ maxWidth: "260px", wordBreak: "break-word" }}>{e.comment}</div>
|
||||||
)}
|
)}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
position="right"
|
position="right"
|
||||||
showArrow
|
showArrow
|
||||||
style={{ width: "200px", wordBreak: "break-word" }}
|
|
||||||
>
|
>
|
||||||
{field(e, i)}
|
{field(e, i)}
|
||||||
</Popover>
|
</Popover>
|
||||||
|
Loading…
Reference in New Issue
Block a user