diff --git a/packages/components/docs/sass.md b/packages/components/docs/sass.md index c979139ca600..074d42f94dbe 100644 --- a/packages/components/docs/sass.md +++ b/packages/components/docs/sass.md @@ -13956,7 +13956,7 @@ Modal styles .#{$prefix}--modal-header, .#{$prefix}--modal-content { - width: 75%; + padding-right: 25%; padding-left: 1rem; } diff --git a/packages/components/src/components/modal/_modal.scss b/packages/components/src/components/modal/_modal.scss index ad0b51386987..de6036a033be 100644 --- a/packages/components/src/components/modal/_modal.scss +++ b/packages/components/src/components/modal/_modal.scss @@ -101,7 +101,7 @@ .#{$prefix}--modal-header, .#{$prefix}--modal-content { - width: 75%; + padding-right: 25%; padding-left: 1rem; }