Skip to content

Commit

Permalink
Revert layout changes to Overview
Browse files Browse the repository at this point in the history
Since there is no nav, the padding was missing and the view looked off. Reverting to the 7.9, centered column view
  • Loading branch information
scottybollinger committed Aug 14, 2020
1 parent b3ba9ed commit d0b39a6
Showing 1 changed file with 15 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -71,20 +71,22 @@ export const Overview: React.FC = () => {
const headerDescription = hideOnboarding ? HEADER_DESCRIPTION : ONBOARDING_HEADER_DESCRIPTION;

return (
<>
<EuiPage restrictWidth>
<SetPageChrome isRoot />
<SendTelemetry action="viewed" metric="overview" />

<ViewContentHeader
title={headerTitle}
description={headerDescription}
action={<ProductButton />}
/>
{!hideOnboarding && <OnboardingSteps />}
<EuiSpacer size="xl" />
<OrganizationStats />
<EuiSpacer size="xl" />
<RecentActivity />
</>
<EuiPageBody>
<ViewContentHeader
title={headerTitle}
description={headerDescription}
action={<ProductButton />}
/>
{!hideOnboarding && <OnboardingSteps />}
<EuiSpacer size="xl" />
<OrganizationStats />
<EuiSpacer size="xl" />
<RecentActivity />
</EuiPageBody>
</EuiPage>
);
};

0 comments on commit d0b39a6

Please sign in to comment.