From c0d6386ac457a3988cea9e9d9f0d3a17f9138129 Mon Sep 17 00:00:00 2001 From: Davis Plumlee Date: Wed, 3 Mar 2021 17:15:31 -0500 Subject: [PATCH 1/2] simple fix --- .../public/common/components/ml_popover/ml_popover.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx b/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx index 1f216bb8da1a3..f106af982063a 100644 --- a/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx +++ b/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx @@ -27,6 +27,8 @@ import { useSecurityJobs } from './hooks/use_security_jobs'; const PopoverContentsDiv = styled.div` max-width: 684px; + max-height: 800px; + overflow: scroll; `; PopoverContentsDiv.displayName = 'PopoverContentsDiv'; From 80557d21b18632871ab6c4da11fb40b517e22043 Mon Sep 17 00:00:00 2001 From: Garrett Spong Date: Wed, 3 Mar 2021 16:40:58 -0700 Subject: [PATCH 2/2] Update x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding some magic! 🎩🐰 --- .../public/common/components/ml_popover/ml_popover.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx b/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx index f106af982063a..561805217e8a1 100644 --- a/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx +++ b/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx @@ -27,8 +27,10 @@ import { useSecurityJobs } from './hooks/use_security_jobs'; const PopoverContentsDiv = styled.div` max-width: 684px; - max-height: 800px; - overflow: scroll; + max-height: 90vh; + overflow-y: auto; + overflow-x: hidden; + padding-bottom: 15px; `; PopoverContentsDiv.displayName = 'PopoverContentsDiv';