Skip to content

Commit

Permalink
[APM] Minor style fixes for the node strokes (elastic#66574) (elastic…
Browse files Browse the repository at this point in the history
…#66691)

In order to improve visibility on larger zoom levels, we’re changing the stroke widths slightly.
  • Loading branch information
formgeist committed May 15, 2020
1 parent 3f6811e commit 14fdba4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ const getBorderWidth = (el: cytoscape.NodeSingular) => {
if (nodeSeverity === severity.minor || nodeSeverity === severity.major) {
return 4;
} else if (nodeSeverity === severity.critical) {
return 12;
return 8;
} else {
return 2;
return 4;
}
};

Expand Down

0 comments on commit 14fdba4

Please sign in to comment.