mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-20 05:12:54 +08:00
fix compact view height
This commit is contained in:
parent
53ee0632d1
commit
38a604ab37
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user