From ee44cd2b7ccf9003df26eadf8946552a7e0df6ac Mon Sep 17 00:00:00 2001 From: 1ilit Date: Tue, 2 Apr 2024 16:05:07 +0300 Subject: [PATCH] Fix table names taking half of the table width when not hovered --- src/components/EditorCanvas/Table.jsx | 208 +++++++++++++------------- 1 file changed, 105 insertions(+), 103 deletions(-) diff --git a/src/components/EditorCanvas/Table.jsx b/src/components/EditorCanvas/Table.jsx index e1e18d2..7bfb84f 100644 --- a/src/components/EditorCanvas/Table.jsx +++ b/src/components/EditorCanvas/Table.jsx @@ -85,117 +85,119 @@ export default function Table(props) { settings.mode === "light" ? "bg-zinc-200" : "bg-zinc-900" }`} > -
+
{props.tableData.name}
-
- -
- } - position="rightTop" - showArrow - trigger="click" - style={{ width: "200px" }} - > +
+
+
+ } + position="rightTop" + showArrow + trigger="click" + style={{ width: "200px" }} + > +
{props.tableData.fields.map((e, i) => {