Skip to content

Commit

Permalink
[APM] Minor style fixes for the node strokes (#66574)
Browse files Browse the repository at this point in the history
In order to improve visibility on larger zoom levels, we’re changing the stroke widths slightly.
  • Loading branch information
formgeist authored May 15, 2020
1 parent 07e57fb commit d0c91ed
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 d0c91ed

Please sign in to comment.