diff --git a/packages/components/src/components/modal/_modal.scss b/packages/components/src/components/modal/_modal.scss index c1b00f091700..4f032c265420 100644 --- a/packages/components/src/components/modal/_modal.scss +++ b/packages/components/src/components/modal/_modal.scss @@ -25,13 +25,13 @@ .#{$prefix}--modal { position: fixed; top: 0; - right: 0; - bottom: 0; left: 0; z-index: z('modal'); display: flex; align-items: center; justify-content: center; + width: 100vw; + height: 100vh; content: ''; background-color: transparent; opacity: 0;