From d0b39a6d249735da375b2956afaffa23b1eaa8cd Mon Sep 17 00:00:00 2001 From: scottybollinger Date: Fri, 14 Aug 2020 12:50:27 -0500 Subject: [PATCH] Revert layout changes to Overview Since there is no nav, the padding was missing and the view looked off. Reverting to the 7.9, centered column view --- .../components/overview/overview.tsx | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/overview/overview.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/overview/overview.tsx index 33bb4add44eca..2c3e78b404d42 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/overview/overview.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/overview/overview.tsx @@ -5,7 +5,7 @@ */ import React, { useContext, useEffect } from 'react'; -import { EuiSpacer } from '@elastic/eui'; +import { EuiPage, EuiPageBody, EuiSpacer } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { useActions, useValues } from 'kea'; @@ -71,20 +71,22 @@ export const Overview: React.FC = () => { const headerDescription = hideOnboarding ? HEADER_DESCRIPTION : ONBOARDING_HEADER_DESCRIPTION; return ( - <> + - } - /> - {!hideOnboarding && } - - - - - + + } + /> + {!hideOnboarding && } + + + + + + ); };