Skip to content

Commit

Permalink
[Security Solution][Endpoint][Admin] Policy response flyout view has …
Browse files Browse the repository at this point in the history
…scrolling (#92265)
  • Loading branch information
parkiino authored Feb 23, 2021
1 parent cb93207 commit 49dee63
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
`;

Expand Down Expand Up @@ -180,12 +178,12 @@ const PolicyResponseFlyoutPanel = memo<{
}, [backToDetailsClickHandler, detailsUri]);

return (
<PolicyResponseFlyout>
<>
<FlyoutSubHeader
backButton={backButtonProp}
data-test-subj="endpointDetailsPolicyResponseFlyoutHeader"
/>
<EuiFlyoutBody
<PolicyResponseFlyoutBody
data-test-subj="endpointDetailsPolicyResponseFlyoutBody"
className="endpointDetailsPolicyResponseFlyoutBody"
>
Expand Down Expand Up @@ -220,8 +218,8 @@ const PolicyResponseFlyoutPanel = memo<{
responseAttentionCount={responseAttentionCount}
/>
)}
</EuiFlyoutBody>
</PolicyResponseFlyout>
</PolicyResponseFlyoutBody>
</>
);
});

Expand Down

0 comments on commit 49dee63

Please sign in to comment.