Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Galante <agalante@gmail.com>2017-11-25 01:28:58 +0300
committerMark Otto <markd.otto@gmail.com>2017-11-25 01:28:58 +0300
commitb29e3f2a4c4cf105363ca4153841d0c8e8de3941 (patch)
tree80b62e4eb2c73cc3159352e00e37fa4bc0a7c1a3 /scss/_modal.scss
parent4829350a461f05774149469e8bb2d818351d0c4e (diff)
lets the centered modal have any height (#24803)
Diffstat (limited to 'scss/_modal.scss')
-rw-r--r--scss/_modal.scss7
1 files changed, 2 insertions, 5 deletions
diff --git a/scss/_modal.scss b/scss/_modal.scss
index bd4abc7c64..edda836636 100644
--- a/scss/_modal.scss
+++ b/scss/_modal.scss
@@ -53,9 +53,7 @@
.modal-dialog-centered {
display: flex;
align-items: center;
- height: 100%;
- margin-top: 0;
- margin-bottom: 0;
+ min-height: calc(100% - (#{$modal-dialog-margin} * 2));
}
// Actual modal
@@ -154,8 +152,7 @@
}
.modal-dialog-centered {
- margin-top: 0;
- margin-bottom: 0;
+ min-height: calc(100% - (#{$modal-dialog-margin-y-sm-up} * 2));
}
.modal-content {