mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Security Solutions] Show popovers inside modals (#73264)
This commit is contained in:
parent
12d5b8d2f9
commit
46fb8475f3
2 changed files with 3 additions and 2 deletions
|
@ -49,8 +49,8 @@ export const AppGlobalStyle = createGlobalStyle<{ theme: { eui: { euiColorPrimar
|
|||
border: none;
|
||||
}
|
||||
|
||||
/* hide open popovers when a modal is being displayed to prevent them from covering the modal */
|
||||
body.euiBody-hasOverlayMask .euiPopover__panel-isOpen {
|
||||
/* hide open draggable popovers when a modal is being displayed to prevent them from covering the modal */
|
||||
body.euiBody-hasOverlayMask .withHoverActions__popover.euiPopover__panel-isOpen{
|
||||
visibility: hidden !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -90,6 +90,7 @@ export const WithHoverActions = React.memo<Props>(
|
|||
hasArrow={false}
|
||||
isOpen={isOpen}
|
||||
panelPaddingSize={!alwaysShow ? 's' : 'none'}
|
||||
panelClassName="withHoverActions__popover"
|
||||
>
|
||||
{isOpen ? <>{hoverContent}</> : null}
|
||||
</WithHoverActionsPopover>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue