From 4f03cf4f45ed6ef7aa976689410c8b0655642361 Mon Sep 17 00:00:00 2001 From: Patryk Kopycinski Date: Mon, 12 Oct 2020 16:39:59 +0200 Subject: [PATCH] cleanup --- .../public/common/components/wrapper_page/index.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/x-pack/plugins/security_solution/public/common/components/wrapper_page/index.tsx b/x-pack/plugins/security_solution/public/common/components/wrapper_page/index.tsx index 2f673ee62219a..8eff52dae89f3 100644 --- a/x-pack/plugins/security_solution/public/common/components/wrapper_page/index.tsx +++ b/x-pack/plugins/security_solution/public/common/components/wrapper_page/index.tsx @@ -10,12 +10,11 @@ import styled from 'styled-components'; import { CommonProps } from '@elastic/eui'; import { useFullScreen } from '../../containers/use_full_screen'; -import { useKibana } from '../../lib/kibana'; import { gutterTimeline } from '../../lib/helpers'; import { AppGlobalStyle } from '../page/index'; const Wrapper = styled.div` - padding: ${({ theme }) => `${theme.eui.paddingSizes.l}`}; + padding: ${(props) => `${props.theme.eui.paddingSizes.l}`}; &.siemWrapperPage--fullHeight { height: 100%; @@ -38,12 +37,6 @@ const Wrapper = styled.div` Wrapper.displayName = 'Wrapper'; -const BannersWrapper = styled.div` - > div { - padding: 0 0 ${({ theme }) => `${theme.eui.paddingSizes.l}`} 0; - } -`; - interface WrapperPageProps { children: React.ReactNode; restrictWidth?: boolean | number | string;