File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 2
2
/*
3
3
This CSS can be removed once Bootstrap V4.beta.3 is released
4
4
https://github.com/twbs/bootstrap/pull/24510
5
- Vertically centered modals are not suited to tall content (the header gets cut off)
6
5
Once BSV4.beta.3 is released, the script section can be moved into the modal.js file
6
+ V4.beta.3 will be changing modal margin to rem units
7
7
*/
8
8
.modal-dialog-centered {
9
9
display : flex ;
10
10
align-items : center ;
11
- min-height : calc (100% - 30px );
11
+ /* min-height: calc(100% - (1rem * 2)); */
12
+ min-height : calc (100% - (10px * 2 ));
12
13
}
13
14
.modal-dialog-centered .modal-content {
14
15
width : 100% ;
15
16
}
17
+ @media (min-width : 576px ) {
18
+ .modal-dialog-centered {
19
+ /* min-height: calc(100% - (1.75rem * 2)); */
20
+ min-height : calc (100% - (30px * 2 ));
21
+ }
22
+ }
16
23
</style >
17
24
18
25
<script >
You can’t perform that action at this time.
0 commit comments