assets/stylesheets/bootstrap/_modal.scss in bootstrap-4.4.1 vs assets/stylesheets/bootstrap/_modal.scss in bootstrap-4.5.0

- old
+ new

@@ -81,10 +81,11 @@ // Ensure `modal-dialog-centered` extends the full height of the view (IE10/11) &::before { display: block; // IE10 height: subtract(100vh, $modal-dialog-margin * 2); + height: min-content; // Reset height to 0 except on IE content: ""; } // Ensure `.modal-body` shows scrollbar (IE10/11) &.modal-dialog-scrollable { @@ -215,9 +216,10 @@ .modal-dialog-centered { min-height: subtract(100%, $modal-dialog-margin-y-sm-up * 2); &::before { height: subtract(100vh, $modal-dialog-margin-y-sm-up * 2); + height: min-content; } } .modal-content { @include box-shadow($modal-content-box-shadow-sm-up);