1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-01 17:32:41 +02:00

Add Full-Screen size to Modal and Responsive variations for breakpoints

(Works from breakpoint and down)
This commit is contained in:
gsoti
2019-04-23 17:03:59 +03:00
committed by XhmikosR
parent 053d5d5e93
commit e138decdbb
4 changed files with 187 additions and 0 deletions

14
scss/mixins/_modal.scss Normal file
View File

@@ -0,0 +1,14 @@
// Modal
// Maximize modal to cover viewport
@mixin modalFullscreen {
width: 100vw;
max-width: none;
height: 100vh;
margin: 0;
.modal-content {
border: 0;
@include border-radius(0);
}
}