Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Sep 14, 2021
1 parent 8a4355b commit 05d7e11
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 05d7e11

Please sign in to comment.