mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-01 17:32:41 +02:00
Automate breakpoints
Breakpoints and container widths are now defined as maps.
This commit is contained in:
@@ -126,7 +126,7 @@
|
||||
}
|
||||
|
||||
// Scale up the modal
|
||||
@media (min-width: $screen-sm-min) {
|
||||
@include media-sm {
|
||||
// Automatically set modal's width for larger viewports
|
||||
.modal-dialog {
|
||||
width: $modal-md;
|
||||
@@ -140,6 +140,6 @@
|
||||
.modal-sm { width: $modal-sm; }
|
||||
}
|
||||
|
||||
@media (min-width: $screen-md-min) {
|
||||
@include media-md {
|
||||
.modal-lg { width: $modal-lg; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user