From b2ec31c918d78454da608ee09bf896f4af04dd3e Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Fri, 14 Oct 2022 02:33:26 +0200 Subject: [PATCH] chore(nc-gui): add min height to nodes --- packages/nc-gui/components/erd/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/erd/utils.ts b/packages/nc-gui/components/erd/utils.ts index a6f47fa98a..813fd1c856 100644 --- a/packages/nc-gui/components/erd/utils.ts +++ b/packages/nc-gui/components/erd/utils.ts @@ -204,7 +204,7 @@ export function useErdElements(tables: MaybeRef, props: MaybeRef { if (isNode(el)) { - dagreGraph.setNode(el.id, { width: 250, height: 50 * el.data.columnLength }) + dagreGraph.setNode(el.id, { width: 250, height: 25 + 50 * el.data.columnLength }) } else if (isEdge(el)) { dagreGraph.setEdge(el.source, el.target) }