Browse Source

fix compact view height

Aykut Saraç 3 years ago
parent
commit
38a604ab37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/containers/LiveEditor/helpers.ts

+ 1 - 1
src/containers/LiveEditor/helpers.ts

@@ -26,7 +26,7 @@ export function getEdgeNodes(graph: any, isExpanded: boolean = true): any {
           isParent: el.parent,
           isParent: el.parent,
         },
         },
         width: isExpanded ? 35 + longestLine * 8 : 180,
         width: isExpanded ? 35 + longestLine * 8 : 180,
-        height: isExpanded ? 30 + lines.length * 10 : 50,
+        height: 30 + lines.length * 10,
       });
       });
     } else {
     } else {
       edges.push(el);
       edges.push(el);