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>
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user