diff options
| author | Martijn Cuppens <[email protected]> | 2020-03-09 21:48:37 +0100 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-03-18 20:59:27 +0200 |
| commit | d9e83671ae40f356c0700efd35e5933636f29101 (patch) | |
| tree | a0ae3d342692d7df82193116e5efe4aba4cf2030 /scss/_modal.scss | |
| parent | 018a94c9c1766c2f191d98f14d8a780882d671ae (diff) | |
| download | bootstrap-d9e83671ae40f356c0700efd35e5933636f29101.tar.xz bootstrap-d9e83671ae40f356c0700efd35e5933636f29101.zip | |
Drop IE support from Sass
Diffstat (limited to 'scss/_modal.scss')
| -rw-r--r-- | scss/_modal.scss | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/scss/_modal.scss b/scss/_modal.scss index e43c70fbb..7edbdcfc2 100644 --- a/scss/_modal.scss +++ b/scss/_modal.scss @@ -56,11 +56,9 @@ } .modal-dialog-scrollable { - display: flex; // IE10/11 max-height: subtract(100%, $modal-dialog-margin * 2); .modal-content { - max-height: subtract(100vh, $modal-dialog-margin * 2); // IE10/11 overflow: hidden; } @@ -78,29 +76,6 @@ display: flex; align-items: center; min-height: subtract(100%, $modal-dialog-margin * 2); - - // 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 { - flex-direction: column; - justify-content: center; - height: 100%; - - .modal-content { - max-height: none; - } - - &::before { - content: none; - } - } } // Actual modal |
