[Security Solution][Exceptions] - Fix scroll on edit exception flyout (#137492) (#138031)

## Summary

Addresses issue #136942 - when editing exception items with numerous entries, flyout was not scrolling properly.

(cherry picked from commit 8e002ced89)

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2022-08-03 15:34:57 -04:00 committed by GitHub
parent 2e81f4c1ef
commit a909f16ea3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,7 +97,7 @@ const FlyoutBodySection = styled.section`
`}
`;
const FlyoutCheckboxesSection = styled(EuiFlyoutBody)`
const FlyoutCheckboxesSection = styled.section`
overflow-y: inherit;
height: auto;
.euiFlyoutBody__overflowContent {
@ -361,7 +361,7 @@ export const EditExceptionFlyout = memo(function EditExceptionFlyout({
!isIndexPatternLoading &&
!isRuleLoading &&
!mlJobLoading && (
<>
<EuiFlyoutBody>
<FlyoutBodySection className="builder-section">
{isRuleEQLSequenceStatement && (
<>
@ -439,7 +439,7 @@ export const EditExceptionFlyout = memo(function EditExceptionFlyout({
</>
)}
</FlyoutCheckboxesSection>
</>
</EuiFlyoutBody>
)}
<EuiFlyoutFooter>