From 38a604ab373fcce91f9b74bbebae678519b293aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aykut=20Sara=C3=A7?= Date: Sat, 19 Mar 2022 16:44:56 +0300 Subject: [PATCH] fix compact view height --- src/containers/LiveEditor/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/LiveEditor/helpers.ts b/src/containers/LiveEditor/helpers.ts index 36a6222..38240c0 100644 --- a/src/containers/LiveEditor/helpers.ts +++ b/src/containers/LiveEditor/helpers.ts @@ -26,7 +26,7 @@ export function getEdgeNodes(graph: any, isExpanded: boolean = true): any { isParent: el.parent, }, width: isExpanded ? 35 + longestLine * 8 : 180, - height: isExpanded ? 30 + lines.length * 10 : 50, + height: 30 + lines.length * 10, }); } else { edges.push(el);