From dc7707da185f7b7fe7fd2633db98d1cd77615548 Mon Sep 17 00:00:00 2001 From: Constance Chen Date: Thu, 25 Feb 2021 14:22:52 -0800 Subject: [PATCH] Fix value boosts with long overflowing text --- .../relevance_tuning/boosts/boost_item.tsx | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item.tsx index 641628c32659c..1dea62b2fd478 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item.tsx @@ -33,18 +33,14 @@ export const BoostItem: React.FC = ({ id, boost, index, name }) => { className="boosts__item" buttonContentClassName="boosts__itemButton" buttonContent={ - - - - - - - {BOOST_TYPE_TO_DISPLAY_MAP[boost.type]} - - {summary} - - + + + + {BOOST_TYPE_TO_DISPLAY_MAP[boost.type]} + + {summary} + {boost.factor}