From 9f2eab665bb25df18e8509b805a9bd50edf58875 Mon Sep 17 00:00:00 2001 From: Keith Chong Date: Fri, 9 Oct 2020 15:08:33 -0400 Subject: [PATCH] fix: Summary legend overflow view (#4523) Signed-off-by: Keith Chong --- .../applications-summary.tsx | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/ui/src/app/applications/components/applications-list/applications-summary.tsx b/ui/src/app/applications/components/applications-list/applications-summary.tsx index 7c0198efaa..f60be26aa2 100644 --- a/ui/src/app/applications/components/applications-list/applications-summary.tsx +++ b/ui/src/app/applications/components/applications-list/applications-summary.tsx @@ -60,7 +60,7 @@ export const ApplicationsSummary = ({applications}: {applications: models.Applic return (
-
+

SUMMARY

{attributes.map(attr => ( @@ -75,18 +75,22 @@ export const ApplicationsSummary = ({applications}: {applications: models.Applic
{charts.map(chart => ( -
-

{chart.title}

- -
-
-
    - {Array.from(chart.legend.keys()).map(key => ( -
  • - {key} -
  • - ))} -
+
+
+
+

{chart.title}

+ +
+
+
    + {Array.from(chart.legend.keys()).map(key => ( +
  • + {key} +
  • + ))} +
+
+
))}