From 47bef3c6a03cd30e06edfa2737ce6c7ab3dbe44c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 17 Sep 2014 21:56:27 -0700 Subject: more media query mixins --- less/_modal.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'less/_modal.less') 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; } -} +}); -- cgit v1.2.3