Skip to content

Commit

Permalink
[APM] environments overlap w/ sparklines if labels are too long (#77993)
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes authored Sep 21, 2020
1 parent ba8213c commit 77bd7ea
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Props {
environments: string[];
}
export function EnvironmentBadge({ environments = [] }: Props) {
if (environments.length < 3) {
if (environments.length < 2) {
return (
<>
{environments.map((env) => (
Expand Down

0 comments on commit 77bd7ea

Please sign in to comment.