diff --git a/src/components/relationship.jsx b/src/components/relationship.jsx index 1c6b88d..b8a0235 100644 --- a/src/components/relationship.jsx +++ b/src/components/relationship.jsx @@ -5,7 +5,7 @@ export default function Relationship(props) { const calcPath = (x1, x2, y1, y2) => { let r = 16; const offsetX = 8; - const tableWidth = 220; + const tableWidth = 200; const midX = (x2 + x1 + tableWidth) / 2; const endX = x2 + tableWidth < x1 ? x2 + tableWidth - offsetX * 2 : x2; diff --git a/src/components/table.jsx b/src/components/table.jsx index 87a9fbb..2ccec3e 100644 --- a/src/components/table.jsx +++ b/src/components/table.jsx @@ -93,7 +93,7 @@ export default function Table(props) { key={props.id} x={props.tableData.x} y={props.tableData.y} - width={220} + width={200} height={height} style={{ cursor: "move" }} onMouseDown={props.onMouseDown} diff --git a/src/pages/editor.jsx b/src/pages/editor.jsx index 642e0a6..2bc9bbd 100644 --- a/src/pages/editor.jsx +++ b/src/pages/editor.jsx @@ -35,7 +35,11 @@ export default function Editor(props) {