From 101bd8d83563cc53eff2fe1d979d2d7c99eea81c Mon Sep 17 00:00:00 2001 From: GitStart <1501599+gitstart@users.noreply.github.com> Date: Fri, 22 Sep 2023 16:55:34 +0100 Subject: [PATCH] [Search Profiler] Migrate all usages of EuiPage*_Deprecated (#163131) --- .../public/application/_app.scss | 4 - .../searchprofiler/public/application/app.tsx | 74 ++++++++----------- 2 files changed, 32 insertions(+), 46 deletions(-) diff --git a/x-pack/plugins/searchprofiler/public/application/_app.scss b/x-pack/plugins/searchprofiler/public/application/_app.scss index 3c163fa8fefec..1b7b44e28bc62 100644 --- a/x-pack/plugins/searchprofiler/public/application/_app.scss +++ b/x-pack/plugins/searchprofiler/public/application/_app.scss @@ -17,10 +17,6 @@ height: 100%; } - &__pageBodyContentBody { - height: 100%; - } - &__pageContentBodyContent { height: 100%; } diff --git a/x-pack/plugins/searchprofiler/public/application/app.tsx b/x-pack/plugins/searchprofiler/public/application/app.tsx index c48ce018e2cdb..321b2a167a38c 100644 --- a/x-pack/plugins/searchprofiler/public/application/app.tsx +++ b/x-pack/plugins/searchprofiler/public/application/app.tsx @@ -8,15 +8,7 @@ import { i18n } from '@kbn/i18n'; import React, { useCallback } from 'react'; -import { - EuiPage, - EuiPageBody, - EuiPageContent_Deprecated as EuiPageContent, - EuiPageContentBody_Deprecated as EuiPageContentBody, - EuiFlexGroup, - EuiFlexItem, - EuiSpacer, -} from '@elastic/eui'; +import { EuiPage, EuiPageBody, EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiPanel } from '@elastic/eui'; import { SearchProfilerTabs, @@ -95,39 +87,37 @@ export const App = () => { {renderLicenseWarning()} - - - - - - - - - - {renderProfileTreeArea()} - - - - {highlightDetails ? ( - dispatch({ type: 'setHighlightDetails', value: null })} - /> - ) : null} - - + + + + + + + + + {renderProfileTreeArea()} + + + + {highlightDetails ? ( + dispatch({ type: 'setHighlightDetails', value: null })} + /> + ) : null} +