From 07098d1bb7e02cc2b7f8bcbc94931fdedd30830b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 4 Feb 2014 02:01:31 -0800 Subject: Fixes #12470: Scope large modal styles to minimum viewport width --- less/modals.less | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'less') diff --git a/less/modals.less b/less/modals.less index e7f3d726e..21cdee0f4 100644 --- a/less/modals.less +++ b/less/modals.less @@ -121,7 +121,6 @@ // Scale up the modal @media (min-width: @screen-sm-min) { - // Automatically set modal's width for larger viewports .modal-dialog { width: @modal-md; @@ -133,6 +132,8 @@ // Modal sizes .modal-sm { width: @modal-sm; } - .modal-lg { width: @modal-lg; } +} +@media (min-width: @screen-md-min) { + .modal-lg { width: @modal-lg; } } -- cgit v1.2.3