aboutsummaryrefslogtreecommitdiff
path: root/less/_modal.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-09-17 21:56:27 -0700
committerMark Otto <[email protected]>2014-09-17 21:56:27 -0700
commit47bef3c6a03cd30e06edfa2737ce6c7ab3dbe44c (patch)
tree63aabea01d484d269e96f50aeb2c3f0a37ee1ac0 /less/_modal.less
parent44f948ad53c3d0c31306cf52ca1c6f8f9b7f601e (diff)
downloadbootstrap-47bef3c6a03cd30e06edfa2737ce6c7ab3dbe44c.tar.xz
bootstrap-47bef3c6a03cd30e06edfa2737ce6c7ab3dbe44c.zip
more media query mixins
Diffstat (limited to 'less/_modal.less')
-rw-r--r--less/_modal.less8
1 files changed, 4 insertions, 4 deletions
diff --git a/less/_modal.less b/less/_modal.less
index 09cef4b31..539d0fef2 100644
--- a/less/_modal.less
+++ b/less/_modal.less
@@ -130,7 +130,7 @@
}
// Scale up the modal
-@media (min-width: @screen-sm-min) {
+.media-sm({
// Automatically set modal's width for larger viewports
.modal-dialog {
width: @modal-md;
@@ -142,8 +142,8 @@
// Modal sizes
.modal-sm { width: @modal-sm; }
-}
+});
-@media (min-width: @screen-md-min) {
+.media-sm({
.modal-lg { width: @modal-lg; }
-}
+});