diff --git a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/details/index.tsx b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/details/index.tsx index 693b185c0feab..ed68cd17fa446 100644 --- a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/details/index.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/details/index.tsx @@ -132,11 +132,9 @@ export const EndpointDetailsFlyout = memo(() => { EndpointDetailsFlyout.displayName = 'EndpointDetailsFlyout'; -const PolicyResponseFlyout = styled.div` - .endpointDetailsPolicyResponseFlyoutBody { - .euiFlyoutBody__overflowContent { - padding-top: 0; - } +const PolicyResponseFlyoutBody = styled(EuiFlyoutBody)` + .euiFlyoutBody__overflowContent { + padding-top: 0; } `; @@ -180,12 +178,12 @@ const PolicyResponseFlyoutPanel = memo<{ }, [backToDetailsClickHandler, detailsUri]); return ( - + <> - @@ -220,8 +218,8 @@ const PolicyResponseFlyoutPanel = memo<{ responseAttentionCount={responseAttentionCount} /> )} - - + + ); });