2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Automate breakpoints

Breakpoints and container widths are now defined as maps.
This commit is contained in:
Gleb Mazovetskiy
2014-12-20 15:03:30 +00:00
parent 4d9aa90c8e
commit 93f51eb0e9
9 changed files with 163 additions and 154 deletions
+2 -2
View File
@@ -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; }
}