Skip to content

Commit

Permalink
Restore
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Nov 18, 2022
1 parent 95c5d69 commit cfaec3d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/components/modal/modal.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@ export const euiModalStyles = (euiThemeContext: UseEuiTheme) => {
${euiBreakpoint(euiThemeContext, ['xs', 's'])} {
position: fixed;
inline-size: 100vw;
min-inline-size: 0;
max-inline-size: none;
max-block-size: 100vh;
inset: 0;
border-radius: 0;
// The below importants are required to override any
// inline width/heights that consumers set via {style}
inline-size: 100vw !important;
min-inline-size: 0 !important;
max-inline-size: none !important;
max-block-size: 100vh !important;
}
// Remove the outline from the focusable container
Expand Down

0 comments on commit cfaec3d

Please sign in to comment.