From 2b358860a4bd6a821169a561d2d85a73badb8093 Mon Sep 17 00:00:00 2001 From: Dima Arnautov Date: Tue, 16 Nov 2021 13:34:39 +0100 Subject: [PATCH] fix paddings --- .../models_management/expanded_row.tsx | 47 +++++++++---------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/x-pack/plugins/ml/public/application/trained_models/models_management/expanded_row.tsx b/x-pack/plugins/ml/public/application/trained_models/models_management/expanded_row.tsx index 235677f97a219..469973a378c83 100644 --- a/x-pack/plugins/ml/public/application/trained_models/models_management/expanded_row.tsx +++ b/x-pack/plugins/ml/public/application/trained_models/models_management/expanded_row.tsx @@ -160,7 +160,7 @@ export const ExpandedRow: FC = ({ item }) => { ), content: ( <> - + @@ -216,7 +216,7 @@ export const ExpandedRow: FC = ({ item }) => { ), content: ( <> - + @@ -276,27 +276,26 @@ export const ExpandedRow: FC = ({ item }) => { ), content: ( <> - - {!!modelItems?.length ? ( - <> - - -
- -
-
- - -
+ - - - ) : null} - - {stats.inference_stats && ( + + {!!modelItems?.length ? ( + + + +
+ +
+
+ + +
+
+ ) : null} + {stats.inference_stats ? ( @@ -315,7 +314,7 @@ export const ExpandedRow: FC = ({ item }) => { /> - )} + ) : null}
), @@ -337,7 +336,7 @@ export const ExpandedRow: FC = ({ item }) => { ), content: ( <> - + ),