Skip to content

Commit

Permalink
fix: Increase y-margin in resource tree view (argoproj#7183) (argopro…
Browse files Browse the repository at this point in the history
…j#8597)

Signed-off-by: Keith Chong <kykchong@redhat.com>
Signed-off-by: wojtekidd <wojtek.cichon@protonmail.com>
  • Loading branch information
keithchong authored and wojtekidd committed Apr 25, 2022
1 parent 86089be commit b699f9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ function findNetworkTargets(nodes: ResourceTreeNode[], networkingInfo: models.Re
}
export const ApplicationResourceTree = (props: ApplicationResourceTreeProps) => {
const graph = new dagre.graphlib.Graph();
graph.setGraph({nodesep: 15, rankdir: 'LR', marginx: -100});
graph.setGraph({nodesep: 15, rankdir: 'LR', marginy: 45, marginx: -100});
graph.setDefaultEdgeLabel(() => ({}));
const overridesCount = getAppOverridesCount(props.app);
const appNode = {
Expand Down

0 comments on commit b699f9f

Please sign in to comment.