Skip to content

Commit

Permalink
[EuiModal] Fix box-shadows
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Nov 18, 2022
1 parent 3d0a929 commit 95c5d69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/modal/modal.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import { css } from '@emotion/react';
import { euiShadow } from '../../themes/amsterdam/global_styling/mixins';
import { euiShadowXLarge } from '../../themes/amsterdam/global_styling/mixins';
import {
euiCanAnimate,
euiBreakpoint,
Expand All @@ -21,7 +21,7 @@ export const euiModalStyles = (euiThemeContext: UseEuiTheme) => {

return {
euiModal: css`
${euiShadow(euiThemeContext, 'l')}
${euiShadowXLarge(euiThemeContext)}
display: flex;
flex-direction: column;
max-block-size: 75vh; // We overflow the modal body based off this
Expand Down Expand Up @@ -65,7 +65,7 @@ export const euiModalStyles = (euiThemeContext: UseEuiTheme) => {
min-inline-size: ${euiFormVariables(euiThemeContext).maxWidth};
${euiBreakpoint(euiThemeContext, ['xs', 's'])} {
${euiShadow(euiThemeContext, 'l')}
${euiShadowXLarge(euiThemeContext, { reverse: true })}
inset-block-start: auto;
}
`,
Expand Down

0 comments on commit 95c5d69

Please sign in to comment.