aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_modal.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/scss/_modal.scss b/scss/_modal.scss
index 421e3e640..e43c70fbb 100644
--- a/scss/_modal.scss
+++ b/scss/_modal.scss
@@ -83,6 +83,7 @@
&::before {
display: block; // IE10
height: subtract(100vh, $modal-dialog-margin * 2);
+ height: min-content; // Reset height to 0 except on IE
content: "";
}
@@ -216,6 +217,7 @@
&::before {
height: subtract(100vh, $modal-dialog-margin-y-sm-up * 2);
+ height: min-content;
}
}