From dd57df8bc284e5cab08f760d9fe794a6f279b91b Mon Sep 17 00:00:00 2001
From: santilapi13
Date: Thu, 11 Apr 2024 19:15:28 -0300
Subject: [PATCH] fix: comment visualization in table and fields popovers
---
src/components/EditorCanvas/Table.jsx | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/components/EditorCanvas/Table.jsx b/src/components/EditorCanvas/Table.jsx
index 0c385fa..f5fdedb 100644
--- a/src/components/EditorCanvas/Table.jsx
+++ b/src/components/EditorCanvas/Table.jsx
@@ -168,7 +168,7 @@ export default function Table(props) {
position="rightTop"
showArrow
trigger="click"
- style={{ width: "200px" }}
+ style={{ width: "200px", wordBreak: "break-word" }}
>
}
@@ -219,10 +219,19 @@ export default function Table(props) {
Default :{" "}
{e.default === "" ? "Not set" : e.default}
+
+ Comment:{" "}
+ {e.comment === "" ? (
+ "Not comment"
+ ) : (
+
{e.comment}
+ )}
+
}
position="right"
showArrow
+ style={{ width: "200px", wordBreak: "break-word" }}
>
{field(e, i)}