aboutsummaryrefslogtreecommitdiff
path: root/less/_modal.less
diff options
context:
space:
mode:
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; }
-}
+});