Skip to content

Commit

Permalink
[Cases] Fix hidden lens modal when creating case from flyout (#112067) (
Browse files Browse the repository at this point in the history
#112093)

Co-authored-by: Christos Nasikas <[email protected]>
  • Loading branch information
kibanamachine and cnasikas authored Sep 14, 2021
1 parent fc2feaf commit 64e2632
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface CreateCaseModalProps {

const StyledFlyout = styled(EuiFlyout)`
${({ theme }) => `
z-index: ${theme.eui.euiZModal};
z-index: ${theme.eui.euiZLevel5};
`}
`;

Expand All @@ -37,10 +37,10 @@ const maskOverlayClassName = 'create-case-flyout-mask-overlay';
* A global style is needed to target a parent element.
*/

const GlobalStyle = createGlobalStyle<{ theme: { eui: { euiZModal: number } } }>`
const GlobalStyle = createGlobalStyle<{ theme: { eui: { euiZLevel5: number } } }>`
.${maskOverlayClassName} {
${({ theme }) => `
z-index: ${theme.eui.euiZModal};
z-index: ${theme.eui.euiZLevel5};
`}
}
`;
Expand Down

0 comments on commit 64e2632

Please sign in to comment.