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:
authorGleb Mazovetskiy <glex.spb@gmail.com>2014-12-20 18:03:30 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2014-12-24 23:27:11 +0300
commit93f51eb0e9c178ab7fb6399c21e3b0e7ba2ed792 (patch)
tree4a755b8855d4f52b68ab77239a0f45a0b3994bf2 /scss/_modal.scss
parent4d9aa90c8ec0e3692a39412d1c97510a7cda1f96 (diff)
Automate breakpoints
Breakpoints and container widths are now defined as maps.
Diffstat (limited to 'scss/_modal.scss')
-rw-r--r--scss/_modal.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/_modal.scss b/scss/_modal.scss
index 8fb7d201dd..2566c3ef2d 100644
--- a/scss/_modal.scss
+++ b/scss/_modal.scss
@@ -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; }
}